about summary refs log tree commit diff
path: root/compiler/rustc_feature/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-05-28 08:53:08 +0200
committerRalf Jung <post@ralfj.de>2024-09-23 11:57:28 +0200
commit584c5cf7aee6029d6f9f443efffd438a9b1bd93f (patch)
treea2db9a183594bf5d6c329387c7354f4fc189bd1f /compiler/rustc_feature/src
parent702987f75b74f789ba227ee04a3d7bb1680c2309 (diff)
downloadrust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.tar.gz
rust-584c5cf7aee6029d6f9f443efffd438a9b1bd93f.zip
add unqualified_local_imports lint
Diffstat (limited to 'compiler/rustc_feature/src')
-rw-r--r--compiler/rustc_feature/src/unstable.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/unstable.rs b/compiler/rustc_feature/src/unstable.rs
index 0b09e9fbb85..63b4b272f76 100644
--- a/compiler/rustc_feature/src/unstable.rs
+++ b/compiler/rustc_feature/src/unstable.rs
@@ -227,6 +227,8 @@ declare_features! (
     (internal, staged_api, "1.0.0", None),
     /// Added for testing unstable lints; perma-unstable.
     (internal, test_unstable_lint, "1.60.0", None),
+    /// Helps with formatting for `group_imports = "StdExternalCrate"`.
+    (unstable, unqualified_local_imports, "CURRENT_RUSTC_VERSION", None),
     /// Use for stable + negative coherence and strict coherence depending on trait's
     /// rustc_strict_coherence value.
     (unstable, with_negative_coherence, "1.60.0", None),