fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
745 B22 linesraw
1error: the lint `COOL_LINT_DEFAULT` has the default deprecation reason
2  --> $DIR/default_deprecation_reason.rs:8:1
3   |
4LL | / declare_deprecated_lint! {
5LL | |     /// ### What it does
6LL | |     /// Nothing. This lint has been deprecated.
7LL | |     ///
8...  |
9LL | |     "default deprecation note"
10LL | | }
11   | |_^
12   |
13note: the lint level is defined here
14  --> $DIR/default_deprecation_reason.rs:1:9
15   |
16LL | #![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
21error: aborting due to previous error
22