Skip to content

Conversation

@oli-obk
Copy link
Contributor

@oli-obk oli-obk commented Apr 11, 2017

fixes #292
fixes #740

@oli-obk
Copy link
Contributor Author

oli-obk commented Apr 11, 2017

I'll publish a new version as soon as someone reviews this.

No tests have been harmed in the making of this PR

New false negatives will exist when multiple lifetimes are used. Fixing these false negatives is incredibly hard. The rustc code around all of those is insane!

fn nested_visit_map<'this>(&'this mut self) -> NestedVisitorMap<'this, 'tcx> {
NestedVisitorMap::None
}
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

newline

@Manishearth
Copy link
Member

r+ | nit

@oli-obk oli-obk merged commit 7f89fb7 into master Apr 12, 2017
@oli-obk oli-obk deleted the lifetime_sugg branch April 12, 2017 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

False positive for needless_lifetimes needless_lifetimes ignores trait bounds

2 participants