2018 edition lints #52047
Labels
A-edition-2018-lints
Area: Lints supporting the 2018 edition
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-dev-tools
Relevant to the dev-tools subteam, which will review and decide on the PR/issue.
WG-epoch
Working group: Epoch (2018) management
Edition lints in the
rust_2018_idioms
group power Rustfix, the tool for transitioning crates from the 2015 to the 2018 edition. Having a good automatic tool for migrating crates is essential to a successful 2018 edition, and having well-implemented lints is essential to Rustfix actually working.All issues
rust_2018_compatibility
?
Kleene operator #51587; PR in progress)extern crate
with#[macro_use]
#52043)extern crate
s with modules (edition lint: modules shadowing extern crates #52040)dyn
should not be allowed as a trait name (impl dyn for AnyType fails to compile #50405)impl self::dyn for ...
for disambiguationrust_2018_idioms
'_
in preference to lifetime elision in types (edition lint: prefer'_
to lifetime elision in types #52041)...
to..=
(rewrite...
to..=
as an idiom lint for Rust 2018 edition #51043; partial solution)T: 'a
annotations #52042)crate
topub(crate)
(edition lint: prefercrate
topub(crate)
#52048)dyn
)pub
extern crate
...
to..=
)The text was updated successfully, but these errors were encountered: