]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/attribute-typos.stderr
Rollup merge of #107255 - lcnr:implied-b-hr, r=oli-obk
[rust.git] / tests / ui / suggestions / attribute-typos.stderr
1 error: attributes starting with `rustc` are reserved for use by the `rustc` compiler
2   --> $DIR/attribute-typos.rs:7:3
3    |
4 LL | #[rustc_err]
5    |   ^^^^^^^^^
6
7 error: cannot find attribute `rustc_err` in this scope
8   --> $DIR/attribute-typos.rs:7:3
9    |
10 LL | #[rustc_err]
11    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `rustc_error`
12
13 error: cannot find attribute `tests` in this scope
14   --> $DIR/attribute-typos.rs:4:3
15    |
16 LL | #[tests]
17    |   ^^^^^ help: an attribute macro with a similar name exists: `test`
18   --> $SRC_DIR/core/src/macros/mod.rs:LL:COL
19    |
20    = note: similarly named attribute macro `test` defined here
21
22 error: cannot find attribute `deprcated` in this scope
23   --> $DIR/attribute-typos.rs:1:3
24    |
25 LL | #[deprcated]
26    |   ^^^^^^^^^ help: a built-in attribute with a similar name exists: `deprecated`
27
28 error: aborting due to 4 previous errors
29