Skip to content

Commit c14140e

Browse files
Stabilize allow_fail flag test feature
1 parent f62f774 commit c14140e

File tree

3 files changed

+3
-25
lines changed

3 files changed

+3
-25
lines changed

src/libsyntax/feature_gate.rs

+3-7
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,6 @@ declare_features! (
362362
// rustc internal
363363
(active, abi_thiscall, "1.19.0", None),
364364

365-
// Allows a test to fail without failing the whole suite
366-
(active, allow_fail, "1.19.0", Some(42219)),
367-
368365
// Allows unsized tuple coercion.
369366
(active, unsized_tuple_coercion, "1.20.0", Some(42877)),
370367

@@ -542,6 +539,8 @@ declare_features! (
542539
// Allows the sysV64 ABI to be specified on all platforms
543540
// instead of just the platforms on which it is the C ABI
544541
(accepted, abi_sysv64, "1.24.0", Some(36167)),
542+
// Allows a test to fail without failing the whole suite
543+
(accepted, allow_fail, "1.25.0", Some(42219)),
545544
);
546545

547546
// If you change this, please modify src/doc/unstable-book as well. You must
@@ -958,10 +957,7 @@ pub const BUILTIN_ATTRIBUTES: &'static [(&'static str, AttributeType, AttributeG
958957
"used internally by rustc",
959958
cfg_fn!(rustc_attrs))),
960959

961-
("allow_fail", Normal, Gated(Stability::Unstable,
962-
"allow_fail",
963-
"allow_fail attribute is currently unstable",
964-
cfg_fn!(allow_fail))),
960+
("allow_fail", Normal, Ungated),
965961

966962
("rustc_std_internal_symbol", Whitelisted, Gated(Stability::Unstable,
967963
"rustc_attrs",

src/test/run-pass/test-allow-fail-attr.rs

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010

1111
// ignore-wasm32-bare compiled with panic=abort by default
1212
// compile-flags: --test
13-
#![feature(allow_fail)]
1413

1514
#[test]
1615
#[allow_fail]

src/test/ui/feature-gate-allow_fail.rs

-17
This file was deleted.

0 commit comments

Comments
 (0)