2021-03-16 17:33:03 -04:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/tool_lints.rs:1:8
|
2018-07-04 14:25:33 +02:00
|
|
|
|
|
|
|
|
LL | #[warn(foo::bar)]
|
|
|
|
| ^^^
|
2021-03-16 17:33:03 -04:00
|
|
|
|
|
|
|
|
= help: add `#![register_tool(foo)]` to the crate root
|
2018-07-04 14:25:33 +02:00
|
|
|
|
2021-03-16 17:33:03 -04:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2020-01-08 20:02:10 +03:00
|
|
|
--> $DIR/tool_lints.rs:1:8
|
|
|
|
|
|
|
|
|
LL | #[warn(foo::bar)]
|
|
|
|
| ^^^
|
2021-03-16 17:33:03 -04:00
|
|
|
|
|
|
|
|
= help: add `#![register_tool(foo)]` to the crate root
|
2023-10-04 18:34:50 +00:00
|
|
|
= note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
|
2020-01-08 20:02:10 +03:00
|
|
|
|
2021-02-28 13:24:46 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2018-07-04 14:25:33 +02:00
|
|
|
|
2020-03-25 11:32:23 +05:30
|
|
|
For more information about this error, try `rustc --explain E0710`.
|