Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilize allow_fail flag test feature #46501

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/libsyntax/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,9 +362,6 @@ declare_features! (
// rustc internal
(active, abi_thiscall, "1.19.0", None),

// Allows a test to fail without failing the whole suite
(active, allow_fail, "1.19.0", Some(42219)),

// Allows unsized tuple coercion.
(active, unsized_tuple_coercion, "1.20.0", Some(42877)),

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

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

("allow_fail", Normal, Gated(Stability::Unstable,
"allow_fail",
"allow_fail attribute is currently unstable",
cfg_fn!(allow_fail))),
("allow_fail", Normal, Ungated),

("rustc_std_internal_symbol", Whitelisted, Gated(Stability::Unstable,
"rustc_attrs",
Expand Down
1 change: 0 additions & 1 deletion src/test/run-pass/test-allow-fail-attr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

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

#[test]
#[allow_fail]
Expand Down
17 changes: 0 additions & 17 deletions src/test/ui/feature-gate-allow_fail.rs

This file was deleted.