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:4: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:4:9
28 LL | #[allow(foo::bar)]
31 = help: add `#![register_tool(foo)]` to the crate root
33 error: aborting due to 4 previous errors
35 For more information about this error, try `rustc --explain E0710`.