]>
Commit | Line | Data |
---|---|---|
6a06907d | 1 | error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar` |
0731742a | 2 | --> $DIR/unknown-lint-tool-name.rs:1:9 |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | #![deny(foo::bar)] |
b7449926 | 5 | | ^^^ |
6a06907d XL |
6 | | |
7 | = help: add `#![register_tool(foo)]` to the crate root | |
b7449926 | 8 | |
6a06907d | 9 | error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar` |
17df50a5 | 10 | --> $DIR/unknown-lint-tool-name.rs:4:9 |
b7449926 | 11 | | |
532ac7d7 | 12 | LL | #[allow(foo::bar)] |
b7449926 | 13 | | ^^^ |
6a06907d XL |
14 | | |
15 | = help: add `#![register_tool(foo)]` to the crate root | |
b7449926 | 16 | |
6a06907d | 17 | error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar` |
dfeec247 XL |
18 | --> $DIR/unknown-lint-tool-name.rs:1:9 |
19 | | | |
20 | LL | #![deny(foo::bar)] | |
21 | | ^^^ | |
6a06907d XL |
22 | | |
23 | = help: add `#![register_tool(foo)]` to the crate root | |
dfeec247 | 24 | |
6a06907d | 25 | error[E0710]: unknown tool name `foo` found in scoped lint: `foo::bar` |
17df50a5 | 26 | --> $DIR/unknown-lint-tool-name.rs:4:9 |
dfeec247 XL |
27 | | |
28 | LL | #[allow(foo::bar)] | |
29 | | ^^^ | |
6a06907d XL |
30 | | |
31 | = help: add `#![register_tool(foo)]` to the crate root | |
dfeec247 | 32 | |
17df50a5 | 33 | error: aborting due to 4 previous errors |
b7449926 | 34 | |
ba9703b0 | 35 | For more information about this error, try `rustc --explain E0710`. |