Skip to content

Commit 5baf12a

Browse files
committed
Reword descriptions of soft feature gate tests
1 parent 1be1c49 commit 5baf12a

7 files changed

Lines changed: 20 additions & 20 deletions

tests/ui/feature-gates/soft-feature-gate-auto_traits.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, auto traits don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, auto traits don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-auto-traits.rs`.
55
//@ check-pass
66

tests/ui/feature-gates/soft-feature-gate-box_patterns.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, box patterns don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, box patterns don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-box_patterns.rs`.
55
//@ check-pass
66

tests/ui/feature-gates/soft-feature-gate-decl_macro.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, decl macros 2.0 don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, decl macros 2.0 don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-decl_macro.rs`.
55
//@ check-pass
66

tests/ui/feature-gates/soft-feature-gate-negative_impls.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, negative impls don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, negative impls don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-negative_impls.rs`.
55
//@ check-pass
66

tests/ui/feature-gates/soft-feature-gate-trait_alias.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, trait aliases don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, trait aliases don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-trait-alias.rs`.
55
//@ check-pass
66

tests/ui/feature-gates/soft-feature-gate-try_blocks.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// For historical reasons, try blocks don't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
1+
// For historical reasons, try blocks don't have an erroring pre-expansion feature gate.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-try_blocks.rs`.
55
//@ edition: 2018
66
//@ check-pass

tests/ui/specialization/soft-feature-gate-specialization.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// For historical reasons, item modifier `default` doesn't have a proper pre-expansion feature gate.
2-
// We're now at least issuing a *warning* for those that only exist before macro expansion.
3-
// FIXME(#154045): Turn their post-expansion feature gate into a proper pre-expansion one.
2+
// We're now at least issuing a warning for those that only exist before macro expansion.
3+
// FIXME(#154045): Turn this pre-expansion warning into an error and remove the post-expansion gate.
44
// As part of this, move these test cases into `feature-gate-specialization.rs`.
55
//
66
// Moreover, `specialization` implies `min_specialization` similar to the post-expansion gate.

0 commit comments

Comments
 (0)