1 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
2 --> $DIR/unknown-lint-tool-name.rs:1:9
4 LL | #![deny(foo::bar)]
7 = help: add `#![register_tool(foo)]` to the crate root
9 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
10 --> $DIR/unknown-lint-tool-name.rs:5:9
12 LL | #[allow(foo::bar)]
15 = help: add `#![register_tool(foo)]` to the crate root
17 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
18 --> $DIR/unknown-lint-tool-name.rs:1:9
20 LL | #![deny(foo::bar)]
23 = help: add `#![register_tool(foo)]` to the crate root
25 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
26 --> $DIR/unknown-lint-tool-name.rs:5:9
28 LL | #[allow(foo::bar)]
31 = help: add `#![register_tool(foo)]` to the crate root
33 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
34 --> $DIR/unknown-lint-tool-name.rs:1:9
36 LL | #![deny(foo::bar)]
39 = help: add `#![register_tool(foo)]` to the crate root
41 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
42 --> $DIR/unknown-lint-tool-name.rs:5:9
44 LL | #[allow(foo::bar)]
47 = help: add `#![register_tool(foo)]` to the crate root
49 error: aborting due to 6 previous errors
51 For more information about this error, try `rustc --explain E0710`.