summary refs log tree commit diff
path: root/src/test/ui/suggestions/attribute-typos.rs
blob: 74f63f2b0ed073fca059049714baa620f07a907b (plain)
1
2
3
4
5
6
7
8
9
10
11
#[deprcated] //~ ERROR cannot find attribute macro `deprcated` in this scope
fn foo() {}

#[tests] //~ ERROR cannot find attribute macro `tests` in this scope
fn bar() {}

#[rustc_err]
//~^ ERROR cannot find attribute macro `rustc_err` in this scope
//~| ERROR attributes starting with `rustc` are reserved for use by the `rustc` compiler

fn main() {}