Add machine-applicable suggestion for unused_qualifications
lint
This commit is contained in:
parent
33a2c2487a
commit
0b5c683b06
7 changed files with 98 additions and 1 deletions
|
@ -550,6 +550,12 @@ pub enum BuiltinLintDiagnostics {
|
|||
/// The local binding that shadows the glob reexport.
|
||||
private_item_span: Span,
|
||||
},
|
||||
UnusedQualifications {
|
||||
/// The span of the unnecessarily-qualified path.
|
||||
path_span: Span,
|
||||
/// The replacement unqualified path.
|
||||
unqualified_path: Ident,
|
||||
},
|
||||
}
|
||||
|
||||
/// Lints that are buffered up early on in the `Session` before the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue