diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-03-10 22:20:29 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2023-03-12 16:33:37 +0100 |
| commit | ac4ea529801ed087041768f1708637cc8277db49 (patch) | |
| tree | ff4b1c91ea1cd33f11d9899edddcc71f4923b164 /compiler/rustc_lint/src | |
| parent | 2df7770d5e8e32728e0add987c65ce8a95fc475d (diff) | |
| download | rust-ac4ea529801ed087041768f1708637cc8277db49.tar.gz rust-ac4ea529801ed087041768f1708637cc8277db49.zip | |
Add test for useless_anonymous_reexport lint
Diffstat (limited to 'compiler/rustc_lint/src')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index ac73f0830f6..8d058517118 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -1533,6 +1533,7 @@ pub struct UnusedAllocationMutDiag; #[derive(LintDiagnostic)] #[diag(lint_useless_anonymous_reexport)] +#[note] pub struct UselessAnonymousReexportDiag { pub article: &'static str, pub desc: &'static str, |
