rust/tests/ui/unknown-lint-tool-name.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
998 B
Plaintext
Raw Normal View History

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