2021-03-16 21:33:03 +00:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/unknown-lint-tool-name.rs:1:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #![deny(foo::bar)]
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^
|
2021-03-16 21:33:03 +00:00
|
|
|
|
|
|
|
|
= help: add `#![register_tool(foo)]` to the crate root
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-03-16 21:33:03 +00:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2021-02-28 18:24:46 +00:00
|
|
|
--> $DIR/unknown-lint-tool-name.rs:4:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | #[allow(foo::bar)]
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^
|
2021-03-16 21:33:03 +00:00
|
|
|
|
|
|
|
|
= help: add `#![register_tool(foo)]` to the crate root
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-03-16 21:33:03 +00:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2020-01-08 17:02:10 +00:00
|
|
|
--> $DIR/unknown-lint-tool-name.rs:1:9
|
|
|
|
|
|
|
|
|
LL | #![deny(foo::bar)]
|
|
|
|
| ^^^
|
2021-03-16 21:33:03 +00: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 17:02:10 +00:00
|
|
|
|
2021-03-16 21:33:03 +00:00
|
|
|
error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar`
|
2021-02-28 18:24:46 +00:00
|
|
|
--> $DIR/unknown-lint-tool-name.rs:4:9
|
2020-01-08 17:02:10 +00:00
|
|
|
|
|
|
|
|
LL | #[allow(foo::bar)]
|
|
|
|
| ^^^
|
2021-03-16 21:33:03 +00: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 17:02:10 +00:00
|
|
|
|
2021-02-28 18:24:46 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2020-03-24 07:33:01 +00:00
|
|
|
For more information about this error, try `rustc --explain E0710`.
|