]> git.lizzy.rs Git - rust.git/blob - tests/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs
Rollup merge of #107740 - oli-obk:lock_tcx, r=petrochenkov
[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() {}