]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-internal/default_deprecation_reason.stderr
Auto merge of #98120 - TaKO8Ki:box-diagnostic-metadata-field, r=estebank
[rust.git] / src / tools / clippy / tests / ui-internal / default_deprecation_reason.stderr
1 error: the lint `COOL_LINT_DEFAULT` has the default deprecation reason
2   --> $DIR/default_deprecation_reason.rs:8:1
3    |
4 LL | / declare_deprecated_lint! {
5 LL | |     /// ### What it does
6 LL | |     /// Nothing. This lint has been deprecated.
7 LL | |     ///
8 ...  |
9 LL | |     "default deprecation note"
10 LL | | }
11    | |_^
12    |
13 note: the lint level is defined here
14   --> $DIR/default_deprecation_reason.rs:1:9
15    |
16 LL | #![deny(clippy::internal)]
17    |         ^^^^^^^^^^^^^^^^
18    = note: `#[deny(clippy::default_deprecation_reason)]` implied by `#[deny(clippy::internal)]`
19    = note: this error originates in the macro `declare_deprecated_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
20
21 error: aborting due to previous error
22