Redundant E0106 missing lifetime error and rust_2018_idioms missing lifetime lint #63110
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
L-elided_lifetimes_in_paths
Lint: elided_lifetimes_in_paths
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
While hacking in the compiler I got the following error:
The errors are correct (and the lint is even helpful!) but they are 1) redundant and 2) E0106 is not as helpful as the
rust_2018_idioms
lint. We should get them both to parity and hide one if the other has triggered.The text was updated successfully, but these errors were encountered: