]> git.proxmox.com Git - rustc.git/blame - src/test/ui/unknown-lint-tool-name.stderr
New upstream version 1.54.0+dfsg1
[rustc.git] / src / test / ui / unknown-lint-tool-name.stderr
CommitLineData
6a06907d 1error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
0731742a 2 --> $DIR/unknown-lint-tool-name.rs:1:9
b7449926 3 |
532ac7d7 4LL | #![deny(foo::bar)]
b7449926 5 | ^^^
6a06907d
XL
6 |
7 = help: add `#![register_tool(foo)]` to the crate root
b7449926 8
6a06907d 9error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
17df50a5 10 --> $DIR/unknown-lint-tool-name.rs:4:9
b7449926 11 |
532ac7d7 12LL | #[allow(foo::bar)]
b7449926 13 | ^^^
6a06907d
XL
14 |
15 = help: add `#![register_tool(foo)]` to the crate root
b7449926 16
6a06907d 17error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
dfeec247
XL
18 --> $DIR/unknown-lint-tool-name.rs:1:9
19 |
20LL | #![deny(foo::bar)]
21 | ^^^
6a06907d
XL
22 |
23 = help: add `#![register_tool(foo)]` to the crate root
dfeec247 24
6a06907d 25error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
17df50a5 26 --> $DIR/unknown-lint-tool-name.rs:4:9
dfeec247
XL
27 |
28LL | #[allow(foo::bar)]
29 | ^^^
6a06907d
XL
30 |
31 = help: add `#![register_tool(foo)]` to the crate root
dfeec247 32
17df50a5 33error: aborting due to 4 previous errors
b7449926 34
ba9703b0 35For more information about this error, try `rustc --explain E0710`.