1 error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2 --> $DIR/attribute-typos.rs:11:3
7 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
9 error: cannot find attribute `rustc_err` in this scope
10 --> $DIR/attribute-typos.rs:11:3
13 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
15 error: cannot find attribute `tests` in this scope
16 --> $DIR/attribute-typos.rs:8:3
19 | ^^^^^ help: an attribute macro with a similar name exists: `test`
21 ::: $SRC_DIR/libcore/macros/mod.rs:LL:COL
23 LL | pub macro test($item:item) {
24 | -------------------------- similarly named attribute macro `test` defined here
26 error: cannot find attribute `deprcated` in this scope
27 --> $DIR/attribute-typos.rs:5:3
30 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
32 error: aborting due to 4 previous errors
34 For more information about this error, try `rustc --explain E0658`.