]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/lint-forbid-attr.rs
Rollup merge of #69362 - CAD97:alloc_layout_extras, r=Amanieu
[rust.git] / src / test / ui / lint / lint-forbid-attr.rs
1 #![forbid(deprecated)]
2
3 #[allow(deprecated)]
4 //~^ ERROR allow(deprecated) overruled by outer forbid(deprecated)
5 //~| ERROR allow(deprecated) overruled by outer forbid(deprecated)
6 //~| ERROR allow(deprecated) overruled by outer forbid(deprecated)
7 fn main() {
8 }