File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ lto = "thin"
5252
5353[workspace .lints .clippy ]
5454# See: https://doc.rust-lang.org/clippy/lints.html
55- correctness = { level = " deny " , priority = 1 }
56- suspicious = { level = " deny " , priority = 1 }
57- perf = { level = " deny " , priority = 1 }
55+ correctness = { level = " forbid " , priority = 1 }
56+ suspicious = { level = " forbid " , priority = 1 }
57+ perf = { level = " forbid " , priority = 1 }
5858
5959complexity = { level = " deny" , priority = -1 }
6060
@@ -66,5 +66,5 @@ identity_op = "allow"
6666type_complexity = " allow"
6767missing_transmute_annotations = " allow"
6868
69- unwrap_or_default = " deny "
70- ptr_arg = " deny "
69+ unwrap_or_default = " forbid "
70+ ptr_arg = " forbid "
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ pub type size_t = u64;
9797pub type RedefinitionFlag = u32 ;
9898
9999#[ allow( dead_code) ]
100- #[ allow( clippy:: all ) ]
100+ #[ allow( clippy:: complexity ) ]
101101mod autogened {
102102 use super :: * ;
103103 // Textually include output from rust-bindgen as suggested by its user guide.
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ pub type RedefinitionFlag = u32;
103103
104104#[ allow( unsafe_op_in_unsafe_fn) ]
105105#[ allow( dead_code) ]
106+ #[ allow( clippy:: complexity) ]
106107mod autogened {
107108 use super :: * ;
108109 // Textually include output from rust-bindgen as suggested by its user guide.
You can’t perform that action at this time.
0 commit comments