46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
|
error: lint group `rust_2018_idioms` has the same priority (0) as a lint
|
||
|
--> Cargo.toml:7:1
|
||
|
|
|
||
|
7 | rust_2018_idioms = "warn"
|
||
|
| ^^^^^^^^^^^^^^^^ ------ has an implicit priority of 0
|
||
|
8 | bare_trait_objects = "allow"
|
||
|
| ------------------ has the same priority as this lint
|
||
|
|
|
||
|
= note: the order of the lints in the table is ignored by Cargo
|
||
|
= note: `#[deny(clippy::lint_groups_priority)]` on by default
|
||
|
help: to have lints override the group set `rust_2018_idioms` to a lower priority
|
||
|
|
|
||
|
7 | rust_2018_idioms = { level = "warn", priority = -1 }
|
||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
error: lint group `unused` has the same priority (0) as a lint
|
||
|
--> Cargo.toml:10:1
|
||
|
|
|
||
|
10 | unused = { level = "deny" }
|
||
|
| ^^^^^^ ------------------ has an implicit priority of 0
|
||
|
11 | unused_braces = { level = "allow", priority = 1 }
|
||
|
12 | unused_attributes = { level = "allow" }
|
||
|
| ----------------- has the same priority as this lint
|
||
|
|
|
||
|
= note: the order of the lints in the table is ignored by Cargo
|
||
|
help: to have lints override the group set `unused` to a lower priority
|
||
|
|
|
||
|
10 | unused = { level = "deny", priority = -1 }
|
||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
error: lint group `pedantic` has the same priority (-1) as a lint
|
||
|
--> Cargo.toml:19:1
|
||
|
|
|
||
|
19 | pedantic = { level = "warn", priority = -1 }
|
||
|
| ^^^^^^^^
|
||
|
20 | similar_names = { level = "allow", priority = -1 }
|
||
|
| ------------- has the same priority as this lint
|
||
|
|
|
||
|
= note: the order of the lints in the table is ignored by Cargo
|
||
|
help: to have lints override the group set `pedantic` to a lower priority
|
||
|
|
|
||
|
19 | pedantic = { level = "warn", priority = -2 }
|
||
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
|
||
|
error: could not compile `fail` (lib) due to 3 previous errors
|