]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-internal/invalid_msrv_attr_impl.stderr
Rollup merge of #105768 - fee1-dead-contrib:iat-style, r=eholk
[rust.git] / src / tools / clippy / tests / ui-internal / invalid_msrv_attr_impl.stderr
1 error: `extract_msrv_attr!` macro missing from `LateLintPass` implementation
2   --> $DIR/invalid_msrv_attr_impl.rs:30:1
3    |
4 LL | impl LateLintPass<'_> for Pass {
5    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/invalid_msrv_attr_impl.rs:3:9
9    |
10 LL | #![deny(clippy::internal)]
11    |         ^^^^^^^^^^^^^^^^
12    = note: `#[deny(clippy::missing_msrv_attr_impl)]` implied by `#[deny(clippy::internal)]`
13 help: add `extract_msrv_attr!(LateContext)` to the `LateLintPass` implementation
14    |
15 LL + impl LateLintPass<'_> for Pass {
16 LL +     extract_msrv_attr!(LateContext);
17    |
18
19 error: `extract_msrv_attr!` macro missing from `EarlyLintPass` implementation
20   --> $DIR/invalid_msrv_attr_impl.rs:34:1
21    |
22 LL | impl EarlyLintPass for Pass {
23    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24    |
25 help: add `extract_msrv_attr!(EarlyContext)` to the `EarlyLintPass` implementation
26    |
27 LL + impl EarlyLintPass for Pass {
28 LL +     extract_msrv_attr!(EarlyContext);
29    |
30
31 error: aborting due to 2 previous errors
32