1 error[E0658]: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2 --> $DIR/attribute-typos.rs:7:3
7 = note: for more information, see https://github.com/rust-lang/rust/issues/29642
8 = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
10 error: cannot find attribute `rustc_err` in this scope
11 --> $DIR/attribute-typos.rs:7:3
14 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
16 error: cannot find attribute `tests` in this scope
17 --> $DIR/attribute-typos.rs:4:3
20 | ^^^^^ help: an attribute macro with a similar name exists: `test`
22 error: cannot find attribute `deprcated` in this scope
23 --> $DIR/attribute-typos.rs:1:3
26 | ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
28 error: aborting due to 4 previous errors
30 For more information about this error, try `rustc --explain E0658`.