]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui-internal/default_lint.stderr
Rollup merge of #92242 - compiler-errors:layout-modulo-regions, r=matthewjasper
[rust.git] / src / tools / clippy / tests / ui-internal / default_lint.stderr
1 error: the lint `TEST_LINT_DEFAULT` has the default lint description
2   --> $DIR/default_lint.rs:18:1
3    |
4 LL | / declare_tool_lint! {
5 LL | |     pub clippy::TEST_LINT_DEFAULT,
6 LL | |     Warn,
7 LL | |     "default lint description",
8 LL | |     report_in_external_macro: true
9 LL | | }
10    | |_^
11    |
12 note: the lint level is defined here
13   --> $DIR/default_lint.rs:1:9
14    |
15 LL | #![deny(clippy::internal)]
16    |         ^^^^^^^^^^^^^^^^
17    = note: `#[deny(clippy::default_lint)]` implied by `#[deny(clippy::internal)]`
18    = note: this error originates in the macro `$crate::declare_tool_lint` (in Nightly builds, run with -Z macro-backtrace for more info)
19
20 error: aborting due to previous error
21