fork/rust

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

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

master
998 B35 linesraw
1error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
2  --> $DIR/unknown-lint-tool-name.rs:1:9
3   |
4LL | #![deny(foo::bar)]
5   |         ^^^
6   |
7   = help: add `#![register_tool(foo)]` to the crate root
8
9error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
10  --> $DIR/unknown-lint-tool-name.rs:4:9
11   |
12LL | #[allow(foo::bar)]
13   |         ^^^
14   |
15   = help: add `#![register_tool(foo)]` to the crate root
16
17error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
18  --> $DIR/unknown-lint-tool-name.rs:1:9
19   |
20LL | #![deny(foo::bar)]
21   |         ^^^
22   |
23   = help: add `#![register_tool(foo)]` to the crate root
24
25error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
26  --> $DIR/unknown-lint-tool-name.rs:4:9
27   |
28LL | #[allow(foo::bar)]
29   |         ^^^
30   |
31   = help: add `#![register_tool(foo)]` to the crate root
32
33error: aborting due to 4 previous errors
34
35For more information about this error, try `rustc --explain E0710`.