9 lines
181 B
Rust
9 lines
181 B
Rust
// check that #[allow_fail] is feature-gated
|
|
|
|
#[allow_fail] //~ ERROR the `#[allow_fail]` attribute is an experimental feature
|
|
fn ok_to_fail() {
|
|
assert!(false);
|
|
}
|
|
|
|
fn main() {}
|