]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-allow_fail.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / feature-gates / feature-gate-allow_fail.rs
1 // check that #[allow_fail] is feature-gated
2
3 #[allow_fail] //~ ERROR the `#[allow_fail]` attribute is an experimental feature
4 fn ok_to_fail() {
5     assert!(false);
6 }
7
8 fn main() {}