]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/attribute-typos.rs
Rollup merge of #90420 - GuillaumeGomez:rustdoc-internals-feature, r=camelid
[rust.git] / src / test / 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() {}