Skip to content

Commit 07f33e2

Browse files
authored
Rollup merge of #138300 - RalfJung:unqualified-local-imports, r=jieyouxu
add tracking issue for unqualified_local_imports Tracking issue: #138299 r? ``````@jieyouxu``````
2 parents 79fa56a + b827087 commit 07f33e2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

compiler/rustc_feature/src/unstable.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ declare_features! (
240240
/// Added for testing unstable lints; perma-unstable.
241241
(internal, test_unstable_lint, "1.60.0", None),
242242
/// Helps with formatting for `group_imports = "StdExternalCrate"`.
243-
(unstable, unqualified_local_imports, "1.83.0", None),
243+
(unstable, unqualified_local_imports, "1.83.0", Some(138299)),
244244
/// Use for stable + negative coherence and strict coherence depending on trait's
245245
/// rustc_strict_coherence value.
246246
(unstable, with_negative_coherence, "1.60.0", None),

tests/ui/feature-gates/feature-gate-unqualified-local-imports.stderr

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ LL | #![allow(unqualified_local_imports)]
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^
66
|
77
= note: the `unqualified_local_imports` lint is unstable
8+
= note: see issue #138299 <https://github.com/rust-lang/rust/issues/138299> for more information
89
= help: add `#![feature(unqualified_local_imports)]` to the crate attributes to enable
910
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1011
= note: `#[warn(unknown_lints)]` on by default

0 commit comments

Comments
 (0)