]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-allow_fail.rs
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[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() {}