]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs
Rollup merge of #107091 - clubby789:infer-ftl-missing-dollar, r=compiler-errors
[rust.git] / tests / ui / stability-attribute / stability-attribute-non-staged-force-unstable.rs
1 // compile-flags:-Zforce-unstable-if-unmarked
2
3 #[unstable()] //~ ERROR: stability attributes may not be used
4 #[stable()] //~ ERROR: stability attributes may not be used
5 fn main() {}