75 lines
2.8 KiB
Plaintext
75 lines
2.8 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
|
|
...
|
|
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
|
|
= 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:15:1
|
|
|
|
|
15 | pedantic = { level = "warn", priority = -1 }
|
|
| ^^^^^^^^
|
|
16 | 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
|
|
|
|
|
15 | pedantic = { level = "warn", priority = -2 }
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
error: lint group `rust_2018_idioms` has the same priority (0) as a lint
|
|
--> Cargo.toml:19:1
|
|
|
|
|
19 | rust_2018_idioms = "warn"
|
|
| ^^^^^^^^^^^^^^^^ ------ has an implicit priority of 0
|
|
20 | bare_trait_objects = "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 `rust_2018_idioms` to a lower priority
|
|
|
|
|
19 | rust_2018_idioms = { level = "warn", priority = -1 }
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
error: lint group `pedantic` has the same priority (0) as a lint
|
|
--> Cargo.toml:23:1
|
|
|
|
|
23 | pedantic = "warn"
|
|
| ^^^^^^^^ ------ has an implicit priority of 0
|
|
24 | similar_names = "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 `pedantic` to a lower priority
|
|
|
|
|
23 | pedantic = { level = "warn", priority = -1 }
|
|
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
error: could not compile `fail` (lib) due to 5 previous errors
|