diff options
| author | David Mládek <david.mladek.cz@gmail.com> | 2025-07-12 16:44:34 +0200 |
|---|---|---|
| committer | David Mládek <david.mladek.cz@gmail.com> | 2025-07-15 15:44:25 +0200 |
| commit | 8b868fa534a8b660a5b8051a5c883d4c15c5b70e (patch) | |
| tree | 4d08723737ccb188c243207aef8ccdde1e28e493 /compiler/rustc_lint_defs | |
| parent | 4a77a62e5611890dd275e17de0fb1694e4ff9a28 (diff) | |
| download | rust-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.rs | 5 |
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, |
