review comment
This commit is contained in:
parent
962b2197a5
commit
b0c3968615
1 changed files with 0 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue