]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/attribute-typos.rs
Rollup merge of #106751 - clubby789:const-intrinsic, r=GuillaumeGomez
[rust.git] / tests / ui / suggestions / attribute-typos.rs
1 #[deprcated] //~ ERROR cannot find attribute `deprcated` in this scope
2 fn foo() {}
3
4 #[tests] //~ ERROR cannot find attribute `tests` in this scope
5 fn bar() {}
6
7 #[rustc_err]
8 //~^ ERROR cannot find attribute `rustc_err` in this scope
9 //~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
10
11 fn main() {}