1 error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
2 --> $DIR/tool_lints.rs:1:8
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/tool_lints.rs:1:8
12 LL | #[warn(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/tool_lints.rs:1:8
20 LL | #[warn(foo::bar)]
23 = help: add `#![register_tool(foo)]` to the crate root
25 error: aborting due to 3 previous errors
27 For more information about this error, try `rustc --explain E0710`.