Skip to content

Commit 5cb435a

Browse files
committed
cargo: remove all clippy::restriction lints
1 parent a158fac commit 5cb435a

1 file changed

Lines changed: 0 additions & 46 deletions

File tree

Cargo.toml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ unnameable-types = "warn"
1515
[workspace.lints.clippy]
1616
all = { level = "deny", priority = -1 }
1717
pedantic = { level = "warn", priority = -1 }
18-
restriction = { level = "warn", priority = -1 }
1918

2019
# good lints from clippy::nursery
2120
use-self = "warn"
@@ -28,51 +27,6 @@ many-single-char-names = "allow"
2827
missing-panics-doc = "allow"
2928
too-many-lines = "allow"
3029

31-
# bad lints from clippy::restriction
32-
absolute-paths = "allow"
33-
allow-attributes-without-reason = "allow"
34-
arbitrary-source-item-ordering = "allow"
35-
arithmetic-side-effects = "allow"
36-
as-conversions = "allow"
37-
blanket-clippy-restriction-lints = "allow"
38-
default-numeric-fallback = "allow"
39-
else-if-without-else = "allow"
40-
exhaustive-structs = "allow"
41-
expect-used = "allow"
42-
impl-trait-in-params = "allow"
43-
implicit-return = "allow"
44-
indexing-slicing = "allow"
45-
integer-division = "allow"
46-
integer-division-remainder-used = "allow"
47-
little-endian-bytes = "allow"
48-
min-ident-chars = "allow"
49-
missing-assert-message = "allow"
50-
missing-asserts-for-indexing = "allow"
51-
missing-docs-in-private-items = "allow"
52-
missing-inline-in-public-items = "allow"
53-
missing-trait-methods = "allow"
54-
multiple-unsafe-ops-per-block = "allow"
55-
panic-in-result-fn = "allow"
56-
pattern-type-mismatch = "allow"
57-
precedence-bits = "allow"
58-
print-stderr = "allow"
59-
print-stdout = "allow"
60-
pub-use = "allow"
61-
question-mark-used = "allow"
62-
self-named-module-files = "allow"
63-
separated-literal-suffix = "allow"
64-
shadow-reuse = "allow"
65-
should-panic-without-expect = "allow"
66-
single-call-fn = "allow"
67-
std-instead-of-alloc = "allow"
68-
std-instead-of-core = "allow"
69-
struct-excessive-bools = "allow"
70-
tests-outside-test-module = "allow"
71-
unimplemented = "allow"
72-
unreachable = "allow"
73-
unwrap-in-result = "allow"
74-
wildcard-enum-match-arm = "allow"
75-
7630
[profile.test]
7731
opt-level = 1
7832

0 commit comments

Comments
 (0)