blob: 4c2336e105e2a9bb2b910c52ea51b29e9d25ad98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#[deprcated] //~ ERROR cannot find attribute `deprcated` in this scope
fn foo() {}
#[tests] //~ ERROR cannot find attribute `tests` in this scope
fn bar() {}
#[rustc_dumm]
//~^ ERROR cannot find attribute `rustc_dumm` in this scope
//~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler
fn main() {}
|