2025-02-28 23:20:48 +01:00
|
|
|
error: `extract_msrv_attr!` macro missing from `EarlyLintPass` implementation
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui-internal/invalid_msrv_attr_impl.rs:28:1
|
2022-03-14 12:02:53 +01:00
|
|
|
|
|
2025-02-28 23:20:48 +01:00
|
|
|
LL | impl EarlyLintPass for Pass {
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2022-03-14 12:02:53 +01:00
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2024-02-27 15:25:18 +01:00
|
|
|
--> tests/ui-internal/invalid_msrv_attr_impl.rs:1:9
|
2022-03-14 12:02:53 +01:00
|
|
|
|
|
|
|
|
|
LL | #![deny(clippy::internal)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `#[deny(clippy::missing_msrv_attr_impl)]` implied by `#[deny(clippy::internal)]`
|
2025-02-28 23:20:48 +01:00
|
|
|
help: add `extract_msrv_attr!()` to the `EarlyLintPass` implementation
|
2022-03-14 12:02:53 +01:00
|
|
|
|
|
2025-02-28 23:20:48 +01:00
|
|
|
LL ~ impl EarlyLintPass for Pass {
|
|
|
|
|
LL + extract_msrv_attr!();
|
2022-03-14 12:02:53 +01:00
|
|
|
|
|
|
|
|
|
|
2025-02-28 23:20:48 +01:00
|
|
|
error: aborting due to 1 previous error
|
2022-03-14 12:02:53 +01:00
|
|
|
|