diff options
| author | Esteban Kuber <esteban@kuber.com.ar> | 2021-12-03 18:45:15 +0000 |
|---|---|---|
| committer | Esteban Kuber <esteban@kuber.com.ar> | 2021-12-03 18:45:15 +0000 |
| commit | b0c3968615d8728fb0476bd81fa58903aca5d191 (patch) | |
| tree | 9dfa09219782f71775f3b0abb6eb245f7b8223e5 | |
| parent | 962b2197a5d5796ee030a05f534ee0fde8ce07bb (diff) | |
| download | rust-b0c3968615d8728fb0476bd81fa58903aca5d191.tar.gz rust-b0c3968615d8728fb0476bd81fa58903aca5d191.zip | |
review comment
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 1 |
1 files changed, 0 insertions, 1 deletions
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 @@ impl GenericParam<'hir> { .fold(None, |span: Option<Span>, 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 { |
