about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-10 22:20:29 +0100
committerGuillaume Gomez <guillaume.gomez@huawei.com>2023-03-12 16:33:37 +0100
commitac4ea529801ed087041768f1708637cc8277db49 (patch)
treeff4b1c91ea1cd33f11d9899edddcc71f4923b164 /compiler/rustc_lint/src
parent2df7770d5e8e32728e0add987c65ce8a95fc475d (diff)
downloadrust-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.rs1
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,