Skip to content

Commit 64fddb6

Browse files
committed
Fix stable feature names in tests
1 parent 14472df commit 64fddb6

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
#![feature(staged_api)]
2-
#![stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
2+
#![stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
33

44
// @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
55
// 'Deprecation planned'
66
// @has deprecated_future_staged_api/struct.S1.html '//*[@class="stab deprecated"]' \
77
// 'Deprecating in 99.99.99: effectively never'
88
#[deprecated(since = "99.99.99", note = "effectively never")]
9-
#[stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
9+
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
1010
pub struct S1;
1111

1212
// @has deprecated_future_staged_api/index.html '//*[@class="stab deprecated"]' \
1313
// 'Deprecation planned'
1414
// @has deprecated_future_staged_api/struct.S2.html '//*[@class="stab deprecated"]' \
1515
// 'Deprecating in a future Rust version: literally never'
1616
#[deprecated(since = "TBD", note = "literally never")]
17-
#[stable(feature = "deprecated-future-staged-api", since = "1.0.0")]
17+
#[stable(feature = "deprecated_future_staged_api", since = "1.0.0")]
1818
pub struct S2;

tests/ui/deprecation/staged-deprecation-in-future.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
#![feature(staged_api)]
44

5-
#![stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
5+
#![stable(feature = "rustc_deprecation_in_future_test", since = "1.0.0")]
66

77
#[deprecated(since = "99.99.99", note = "effectively never")]
8-
#[stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
8+
#[stable(feature = "rustc_deprecation_in_future_test", since = "1.0.0")]
99
pub struct S1;
1010

1111
#[deprecated(since = "TBD", note = "literally never")]
12-
#[stable(feature = "rustc_deprecation-in-future-test", since = "1.0.0")]
12+
#[stable(feature = "rustc_deprecation_in_future_test", since = "1.0.0")]
1313
pub struct S2;
1414

1515
fn main() {

0 commit comments

Comments
 (0)