diff options
| author | Ralf Jung <post@ralfj.de> | 2024-10-23 08:18:19 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-23 09:14:43 +0100 |
| commit | e82bca6f32bd74e018c8bd46fe33986eae514189 (patch) | |
| tree | d1200d3032689eef799d045c8a71d9040686077b /compiler/rustc_expand/src | |
| parent | 6ad17bd30c68c90792cb0e4fca8208be41493f6b (diff) | |
| download | rust-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.rs | 2 |
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 |
