about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui-internal/invalid_msrv_attr_impl.stderr
blob: d5928d8c0c2de855b2d314b8516947cf7ca88d73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
error: `extract_msrv_attr!` macro missing from `EarlyLintPass` implementation
  --> tests/ui-internal/invalid_msrv_attr_impl.rs:28:1
   |
LL | impl EarlyLintPass for Pass {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: the lint level is defined here
  --> tests/ui-internal/invalid_msrv_attr_impl.rs:1:9
   |
LL | #![deny(clippy::missing_msrv_attr_impl)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: add `extract_msrv_attr!()` to the `EarlyLintPass` implementation
   |
LL ~ impl EarlyLintPass for Pass {
LL +     extract_msrv_attr!();
   |

error: aborting due to 1 previous error