1 2 3 4 5 6 7 8
// 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() {}