summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-internal/invalid_msrv_attr_impl.stderr
blob: ddc06f0be1b3a005f5e6b128a4d9778c132e2063 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
error: `extract_msrv_attr!` macro missing from `LateLintPass` implementation
  --> $DIR/invalid_msrv_attr_impl.rs:30:1
   |
LL | impl LateLintPass<'_> for Pass {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> $DIR/invalid_msrv_attr_impl.rs:3:9
   |
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
  --> $DIR/invalid_msrv_attr_impl.rs:34:1
   |
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