diff options
| author | Ralf Jung <post@ralfj.de> | 2024-05-28 08:53:08 +0200 | 
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-09-23 11:57:28 +0200 | 
| commit | 584c5cf7aee6029d6f9f443efffd438a9b1bd93f (patch) | |
| tree | a2db9a183594bf5d6c329387c7354f4fc189bd1f /compiler/rustc_lint/src/lints.rs | |
| parent | 702987f75b74f789ba227ee04a3d7bb1680c2309 (diff) | |
| download | rust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.tar.gz rust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.zip | |
add unqualified_local_imports lint
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index 76002cc8425..6979d56844a 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -3093,3 +3093,7 @@ pub(crate) enum MutRefSugg { span: Span, }, } + +#[derive(LintDiagnostic)] +#[diag(lint_unqualified_local_imports)] +pub(crate) struct UnqualifiedLocalImportsDiag {} | 
