Skip to content

Commit

Permalink
Auto merge of #37057 - brson:nosuggest, r=nikomatsakis
Browse files Browse the repository at this point in the history
rustc: Remove all "consider using an explicit lifetime parameter" suggestions

These give so many incorrect suggestions that having them is
detrimental to the user experience. The compiler should not be
suggesting changes to the code that are wrong - it is infuriating: not
only is the compiler telling you that _you don't understand_ borrowing,
_the compiler itself_ appears to not understand borrowing. It does not
inspire confidence.

r? @nikomatsakis
  • Loading branch information
bors committed Jan 27, 2017
2 parents 62a7258 + a2735c0 commit 154c202
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 893 deletions.
Loading

0 comments on commit 154c202

Please sign in to comment.