about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src
diff options
context:
space:
mode:
authorxizheyin <xizheyin@smail.nju.edu.cn>2025-06-07 18:57:33 +0800
committerxizheyin <xizheyin@smail.nju.edu.cn>2025-06-12 19:24:11 +0800
commitb8066f94fd53df4143ab9866a49c21c9a883fc01 (patch)
treef71054756786b8de01477ac19e830d3052b59998 /compiler/rustc_resolve/src
parent8eeaed06ea3a01afdeda9a31b777269459c5fdef (diff)
downloadrust-b8066f94fd53df4143ab9866a49c21c9a883fc01.tar.gz
rust-b8066f94fd53df4143ab9866a49c21c9a883fc01.zip
Tracking the old name of renamed unstable library attribute
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
Diffstat (limited to 'compiler/rustc_resolve/src')
-rw-r--r--compiler/rustc_resolve/src/macros.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/macros.rs b/compiler/rustc_resolve/src/macros.rs
index ee905065b96..79a60b5a455 100644
--- a/compiler/rustc_resolve/src/macros.rs
+++ b/compiler/rustc_resolve/src/macros.rs
@@ -974,7 +974,8 @@ impl<'ra, 'tcx> Resolver<'ra, 'tcx> {
     ) {
         let span = path.span;
         if let Some(stability) = &ext.stability {
-            if let StabilityLevel::Unstable { reason, issue, is_soft, implied_by } = stability.level
+            if let StabilityLevel::Unstable { reason, issue, is_soft, implied_by, .. } =
+                stability.level
             {
                 let feature = stability.feature;