Skip to content

Commit 2d33b30

Browse files
committed
Update tracking issue number of future-incompatibility lint unstable_syntax_pre_expansion
1 parent c753cef commit 2d33b30

13 files changed

+29
-29
lines changed

‎compiler/rustc_lint_defs/src/builtin.rs‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3158,7 +3158,7 @@ declare_lint! {
31583158
/// ### Example
31593159
///
31603160
/// ```rust
3161-
/// #[cfg(FALSE)]
3161+
/// #[cfg(feature = "nightly")]
31623162
/// macro foo() {}
31633163
/// ```
31643164
///
@@ -3182,22 +3182,22 @@ declare_lint! {
31823182
/// ( $($tokens:tt)* ) => { $($tokens)* }
31833183
/// }
31843184
///
3185-
/// #[cfg(FALSE)]
3185+
/// #[cfg(feature = "nightly")]
31863186
/// identity! {
31873187
/// macro foo() {}
31883188
/// }
31893189
/// ```
31903190
///
31913191
/// This is a [future-incompatible] lint to transition this
3192-
/// to a hard error in the future. See [issue #65860] for more details.
3192+
/// to a hard error in the future. See [issue #154045] for more details.
31933193
///
3194-
/// [issue #65860]: https://github.com/rust-lang/rust/issues/65860
3194+
/// [issue #154045]: https://github.com/rust-lang/rust/issues/154045
31953195
/// [future-incompatible]: ../index.md#future-incompatible-lints
31963196
pub UNSTABLE_SYNTAX_PRE_EXPANSION,
31973197
Warn,
31983198
"unstable syntax can change at any point in the future, causing a hard error!",
31993199
@future_incompatible = FutureIncompatibleInfo {
3200-
reason: fcw!(FutureReleaseError #65860),
3200+
reason: fcw!(FutureReleaseError #154045),
32013201
};
32023202
}
32033203

‎tests/ui/cfg/cfg-false-feature.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | let box _ = Box::new(0);
88
= help: add `#![feature(box_patterns)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: trait aliases are experimental
1414
--> $DIR/cfg-false-feature.rs:12:1
@@ -20,7 +20,7 @@ LL | trait A = Clone;
2020
= help: add `#![feature(trait_alias)]` to the crate attributes to enable
2121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2222
= warning: unstable syntax can change at any point in the future, causing a hard error!
23-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
2424

2525
warning: 2 warnings emitted
2626

‎tests/ui/feature-gates/soft-feature-gate-auto_traits.stderr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | auto trait Foo {}
88
= help: add `#![feature(auto_traits)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: 1 warning emitted
1414

‎tests/ui/feature-gates/soft-feature-gate-box_patterns.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | let box x;
88
= help: add `#![feature(box_patterns)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: box pattern syntax is experimental
1414
--> $DIR/soft-feature-gate-box_patterns.rs:14:18
@@ -20,7 +20,7 @@ LL | let Packet { box x };
2020
= help: add `#![feature(box_patterns)]` to the crate attributes to enable
2121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2222
= warning: unstable syntax can change at any point in the future, causing a hard error!
23-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
2424

2525
warning: 2 warnings emitted
2626

‎tests/ui/feature-gates/soft-feature-gate-decl_macro.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | macro make() {}
88
= help: add `#![feature(decl_macro)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: `macro` is experimental
1414
--> $DIR/soft-feature-gate-decl_macro.rs:13:1
@@ -20,7 +20,7 @@ LL | macro create { () => {} }
2020
= help: add `#![feature(decl_macro)]` to the crate attributes to enable
2121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2222
= warning: unstable syntax can change at any point in the future, causing a hard error!
23-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
2424

2525
warning: 2 warnings emitted
2626

‎tests/ui/feature-gates/soft-feature-gate-negative_impls.stderr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | impl !Trait for () {}
88
= help: add `#![feature(negative_impls)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: 1 warning emitted
1414

‎tests/ui/feature-gates/soft-feature-gate-trait_alias.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | trait Trait =;
88
= help: add `#![feature(trait_alias)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: trait aliases are experimental
1414
--> $DIR/soft-feature-gate-trait_alias.rs:13:1
@@ -20,7 +20,7 @@ LL | trait Trait<T> = Bound where T: Bound;
2020
= help: add `#![feature(trait_alias)]` to the crate attributes to enable
2121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2222
= warning: unstable syntax can change at any point in the future, causing a hard error!
23-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
2424

2525
warning: 2 warnings emitted
2626

‎tests/ui/feature-gates/soft-feature-gate-try_blocks.stderr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | try {}
88
= help: add `#![feature(try_blocks)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: 1 warning emitted
1414

‎tests/ui/feature-gates/soft-syntax-gates-without-errors.stderr‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | macro b() {}
88
= help: add `#![feature(decl_macro)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: `macro` is experimental
1414
--> $DIR/soft-syntax-gates-without-errors.rs:21:5
@@ -20,7 +20,7 @@ LL | macro e() {}
2020
= help: add `#![feature(decl_macro)]` to the crate attributes to enable
2121
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
2222
= warning: unstable syntax can change at any point in the future, causing a hard error!
23-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
23+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
2424

2525
warning: 2 warnings emitted
2626

‎tests/ui/or-patterns/or-patterns-syntactic-pass.stderr‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LL | let (box 0 | 1); // Unstable; we *can* change the precedence if we want
88
= help: add `#![feature(box_patterns)]` to the crate attributes to enable
99
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
1010
= warning: unstable syntax can change at any point in the future, causing a hard error!
11-
= note: for more information, see issue #65860 <https://github.com/rust-lang/rust/issues/65860>
11+
= note: for more information, see issue #154045 <https://github.com/rust-lang/rust/issues/154045>
1212

1313
warning: 1 warning emitted
1414

0 commit comments

Comments
 (0)