-
Notifications
You must be signed in to change notification settings - Fork 14k
Closed
Labels
A-edition-2018Area: The 2018 editionArea: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.WG-epochWorking group: Epoch (2018) managementWorking group: Epoch (2018) management
Description
Edition lints
These lints will warn by default on Rust 2015.
- Edition keywords Write lint for usage of edition-gated keywords #49716 (blocked on Edition-gated keywords #49611)
- Hygiene plan: Do this at the lexer level
- fully qualified paths that use module names Add epoch breakage lint for fully qualified paths that do not use
crate,self, orsuper#48722 (PR at Edition breakage lint for absolute paths starting with modules #50100)- Hygiene plan: None
- Flipping these on
- Need support for EpochAllow -
edition_lint_opts
- Need support for EpochAllow -
Idiom lints
These lints will warn only when you opt in to the 2018 edition, and are useful for driving rustfix to update idioms.
-
extern crateextern crateepoch lint for Path Clarity RFC (2126) #48719 (PR at idiom lints for removingextern crate#50260)
Bugs
- Suggestions within macros (Epoch lints don't handle macros very well #48704)
Metadata
Metadata
Assignees
Labels
A-edition-2018Area: The 2018 editionArea: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.Area: Lints (warnings about flaws in source code) such as unused_mut.WG-epochWorking group: Epoch (2018) managementWorking group: Epoch (2018) management