2022-03-14 11:02:53 +00:00
|
|
|
error: `extract_msrv_attr!` macro missing from `LateLintPass` implementation
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-internal/invalid_msrv_attr_impl.rs:28:1
|
2022-03-14 11:02:53 +00:00
|
|
|
|
|
|
|
|
LL | impl LateLintPass<'_> for Pass {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: the lint level is defined here
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-internal/invalid_msrv_attr_impl.rs:1:9
|
2022-03-14 11:02:53 +00:00
|
|
|
|
|
|
|
|
LL | #![deny(clippy::internal)]
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
= note: `#[deny(clippy::missing_msrv_attr_impl)]` implied by `#[deny(clippy::internal)]`
|
|
|
|
help: add `extract_msrv_attr!(LateContext)` to the `LateLintPass` implementation
|
|
|
|
|
|
|
|
|
LL + impl LateLintPass<'_> for Pass {
|
|
|
|
LL + extract_msrv_attr!(LateContext);
|
|
|
|
|
|
|
|
|
|
|
|
|
error: `extract_msrv_attr!` macro missing from `EarlyLintPass` implementation
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui-internal/invalid_msrv_attr_impl.rs:32:1
|
2022-03-14 11:02:53 +00:00
|
|
|
|
|
|
|
|
LL | impl EarlyLintPass for Pass {
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
help: add `extract_msrv_attr!(EarlyContext)` to the `EarlyLintPass` implementation
|
|
|
|
|
|
|
|
|
LL + impl EarlyLintPass for Pass {
|
|
|
|
LL + extract_msrv_attr!(EarlyContext);
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|