about summary refs log tree commit diff
path: root/compiler/rustc_expand/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-10-23 08:18:19 +0100
committerRalf Jung <post@ralfj.de>2024-10-23 09:14:43 +0100
commite82bca6f32bd74e018c8bd46fe33986eae514189 (patch)
treed1200d3032689eef799d045c8a71d9040686077b /compiler/rustc_expand/src
parent6ad17bd30c68c90792cb0e4fca8208be41493f6b (diff)
downloadrust-e82bca6f32bd74e018c8bd46fe33986eae514189.tar.gz
rust-e82bca6f32bd74e018c8bd46fe33986eae514189.zip
remove no longer needd UnstableFeature type
Diffstat (limited to 'compiler/rustc_expand/src')
-rw-r--r--compiler/rustc_expand/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_expand/src/config.rs b/compiler/rustc_expand/src/config.rs
index 7546c830a0b..af27077f242 100644
--- a/compiler/rustc_expand/src/config.rs
+++ b/compiler/rustc_expand/src/config.rs
@@ -103,7 +103,7 @@ pub fn features(sess: &Session, krate_attrs: &[Attribute], crate_name: Symbol) -
             }
 
             // If the enabled feature is unstable, record it.
-            if UNSTABLE_FEATURES.iter().find(|f| name == f.feature.name).is_some() {
+            if UNSTABLE_FEATURES.iter().find(|f| name == f.name).is_some() {
                 // When the ICE comes from core, alloc or std (approximation of the standard
                 // library), there's a chance that the person hitting the ICE may be using
                 // -Zbuild-std or similar with an untested target. The bug is probably in the