]> git.lizzy.rs Git - rust.git/blob - src/test/ui/stability-attribute/stability-attribute-non-staged-force-unstable.rs
Auto merge of #87462 - ibraheemdev:tidy-file-length-ignore-comment, r=Mark-Simulacrum
[rust.git] / src / test / 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 #[rustc_deprecated()] //~ ERROR: stability attributes may not be used
6 fn main() { }