]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/allow_attributes_without_reason.stderr
Rollup merge of #102525 - notriddle:notriddle/array-link, r=GuillaumeGomez,jsha
[rust.git] / src / tools / clippy / tests / ui / allow_attributes_without_reason.stderr
1 error: `allow` attribute without specifying a reason
2   --> $DIR/allow_attributes_without_reason.rs:5:1
3    |
4 LL | #[allow(dead_code)]
5    | ^^^^^^^^^^^^^^^^^^^
6    |
7    = help: try adding a reason at the end with `, reason = ".."`
8 note: the lint level is defined here
9   --> $DIR/allow_attributes_without_reason.rs:2:9
10    |
11 LL | #![deny(clippy::allow_attributes_without_reason)]
12    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13
14 error: `allow` attribute without specifying a reason
15   --> $DIR/allow_attributes_without_reason.rs:6:1
16    |
17 LL | #[allow(dead_code, deprecated)]
18    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
19    |
20    = help: try adding a reason at the end with `, reason = ".."`
21
22 error: aborting due to 2 previous errors
23