diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs index c8f53ed2c5b..23c4f72bae7 100644 --- a/compiler/rustc_hir/src/hir.rs +++ b/compiler/rustc_hir/src/hir.rs @@ -531,7 +531,6 @@ pub fn bounds_span_for_suggestions(&self) -> Option { .fold(None, |span: Option, bound| { // We include bounds that come from a `#[derive(_)]` but point at the user's code, // as we use this method to get a span appropriate for suggestions. - // FIXME: a more "principled" approach should be taken here. if !bound.span().can_be_used_for_suggestions() { None } else {