about summary refs log tree commit diff
path: root/compiler/rustc_lint_defs
diff options
context:
space:
mode:
authorDavid Mládek <david.mladek.cz@gmail.com>2025-07-12 16:44:34 +0200
committerDavid Mládek <david.mladek.cz@gmail.com>2025-07-15 15:44:25 +0200
commit8b868fa534a8b660a5b8051a5c883d4c15c5b70e (patch)
tree4d08723737ccb188c243207aef8ccdde1e28e493 /compiler/rustc_lint_defs
parent4a77a62e5611890dd275e17de0fb1694e4ff9a28 (diff)
downloadrust-8b868fa534a8b660a5b8051a5c883d4c15c5b70e.tar.gz
rust-8b868fa534a8b660a5b8051a5c883d4c15c5b70e.zip
Implement resolver warnings about reexporting private dependencies
Diffstat (limited to 'compiler/rustc_lint_defs')
-rw-r--r--compiler/rustc_lint_defs/src/lib.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/compiler/rustc_lint_defs/src/lib.rs b/compiler/rustc_lint_defs/src/lib.rs
index cd402c9234f..fe068d96b74 100644
--- a/compiler/rustc_lint_defs/src/lib.rs
+++ b/compiler/rustc_lint_defs/src/lib.rs
@@ -739,6 +739,11 @@ pub enum BuiltinLintDiag {
         /// The local binding that shadows the glob reexport.
         private_item_span: Span,
     },
+    ReexportPrivateDependency {
+        name: String,
+        kind: String,
+        krate: Symbol,
+    },
     UnusedQualifications {
         /// The span of the unnecessarily-qualified path to remove.
         removal_span: Span,