2022-03-14 06:02:53 -05:00
|
|
|
error: `allow` attribute without specifying a reason
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/allow_attributes_without_reason.rs:4:1
|
2022-03-14 06:02:53 -05:00
|
|
|
|
|
2023-07-02 07:35:19 -05:00
|
|
|
LL | #![allow(unfulfilled_lint_expectations)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-03-14 06:02:53 -05:00
|
|
|
|
|
2022-09-22 11:04:22 -05:00
|
|
|
= help: try adding a reason at the end with `, reason = ".."`
|
2022-03-14 06:02:53 -05:00
|
|
|
note: the lint level is defined here
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/allow_attributes_without_reason.rs:3:9
|
2022-03-14 06:02:53 -05:00
|
|
|
|
|
|
|
|
LL | #![deny(clippy::allow_attributes_without_reason)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: `allow` attribute without specifying a reason
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/allow_attributes_without_reason.rs:10:1
|
2023-07-02 07:35:19 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: try adding a reason at the end with `, reason = ".."`
|
|
|
|
|
|
|
|
error: `allow` attribute without specifying a reason
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/allow_attributes_without_reason.rs:11:1
|
2022-03-14 06:02:53 -05:00
|
|
|
|
|
|
|
|
LL | #[allow(dead_code, deprecated)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: try adding a reason at the end with `, reason = ".."`
|
|
|
|
|
2023-07-02 07:35:19 -05:00
|
|
|
error: `expect` attribute without specifying a reason
|
2024-02-27 08:25:18 -06:00
|
|
|
--> tests/ui/allow_attributes_without_reason.rs:12:1
|
2023-07-02 07:35:19 -05:00
|
|
|
|
|
|
|
|
LL | #[expect(dead_code)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: try adding a reason at the end with `, reason = ".."`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2022-03-14 06:02:53 -05:00
|
|
|
|