diff options
| author | LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> | 2025-06-24 19:51:24 +0200 |
|---|---|---|
| committer | LorrensP-2158466 <lorrens.pantelis@student.uhasselt.be> | 2025-06-25 15:40:18 +0200 |
| commit | 962404697732f3e5d3eb2efdf1782189fae9f2ae (patch) | |
| tree | 97aa54c138f3e65dc5936846b86bdbfa964a5a8f /compiler/rustc_lint_defs | |
| parent | 2801f9aaf9b7580d9b230b532b0700709857cc88 (diff) | |
| download | rust-962404697732f3e5d3eb2efdf1782189fae9f2ae.tar.gz rust-962404697732f3e5d3eb2efdf1782189fae9f2ae.zip | |
deny AMBIGUOUS_GLOB_IMPORTS; tests fail in this commit
Diffstat (limited to 'compiler/rustc_lint_defs')
| -rw-r--r-- | compiler/rustc_lint_defs/src/builtin.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_lint_defs/src/builtin.rs b/compiler/rustc_lint_defs/src/builtin.rs index 5fa00fcc4a0..582ddec7676 100644 --- a/compiler/rustc_lint_defs/src/builtin.rs +++ b/compiler/rustc_lint_defs/src/builtin.rs @@ -4343,11 +4343,12 @@ declare_lint! { /// /// [future-incompatible]: ../index.md#future-incompatible-lints pub AMBIGUOUS_GLOB_IMPORTS, - Warn, + Deny, "detects certain glob imports that require reporting an ambiguity error", @future_incompatible = FutureIncompatibleInfo { reason: FutureIncompatibilityReason::FutureReleaseError, reference: "issue #114095 <https://github.com/rust-lang/rust/issues/114095>", + report_in_deps: true, }; } |
