diff options
| author | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-06-07 18:57:33 +0800 |
|---|---|---|
| committer | xizheyin <xizheyin@smail.nju.edu.cn> | 2025-06-12 19:24:11 +0800 |
| commit | b8066f94fd53df4143ab9866a49c21c9a883fc01 (patch) | |
| tree | f71054756786b8de01477ac19e830d3052b59998 /tests/ui/stability-attribute | |
| parent | 8eeaed06ea3a01afdeda9a31b777269459c5fdef (diff) | |
| download | rust-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 'tests/ui/stability-attribute')
| -rw-r--r-- | tests/ui/stability-attribute/renamed_feature.rs | 2 | ||||
| -rw-r--r-- | tests/ui/stability-attribute/renamed_feature.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/stability-attribute/renamed_feature.rs b/tests/ui/stability-attribute/renamed_feature.rs index 6030a2e5cd9..249c2abecff 100644 --- a/tests/ui/stability-attribute/renamed_feature.rs +++ b/tests/ui/stability-attribute/renamed_feature.rs @@ -1,3 +1,3 @@ -#![feature(try_trait)] //~ ERROR unknown feature `try_trait` +#![feature(try_trait)] //~ ERROR feature `try_trait` has been renamed to `try_trait_v2` [E0635] fn main() {} diff --git a/tests/ui/stability-attribute/renamed_feature.stderr b/tests/ui/stability-attribute/renamed_feature.stderr index 2331a844492..293a2feffb2 100644 --- a/tests/ui/stability-attribute/renamed_feature.stderr +++ b/tests/ui/stability-attribute/renamed_feature.stderr @@ -1,4 +1,4 @@ -error[E0635]: unknown feature `try_trait` +error[E0635]: feature `try_trait` has been renamed to `try_trait_v2` --> $DIR/renamed_feature.rs:1:12 | LL | #![feature(try_trait)] |
