summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui-internal/default_deprecation_reason.stderr
blob: ca26b649f986a6ca8d880f4dade94605b1941b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
error: the lint `COOL_LINT_DEFAULT` has the default deprecation reason
  --> $DIR/default_deprecation_reason.rs:8:1
   |
LL | / declare_deprecated_lint! {
LL | |     /// ### What it does
LL | |     /// Nothing. This lint has been deprecated.
LL | |     ///
...  |
LL | |     "default deprecation note"
LL | | }
   | |_^
   |
note: the lint level is defined here
  --> $DIR/default_deprecation_reason.rs:1:9
   |
LL | #![deny(clippy::internal)]
   |         ^^^^^^^^^^^^^^^^
   = note: `#[deny(clippy::default_deprecation_reason)]` implied by `#[deny(clippy::internal)]`
   = note: this error originates in the macro `declare_deprecated_lint` (in Nightly builds, run with -Z macro-backtrace for more info)

error: aborting due to previous error