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: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0710`.