File tree 3 files changed +0
-6
lines changed 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,6 @@ impl Test<'_> {
171
171
. collect :: < Vec < u8 > > ( ) ,
172
172
} ;
173
173
174
- #[ allow( unknown_lints, clippy:: if_then_panic) ]
175
174
if & expected_data[ ..] != contents {
176
175
panic ! (
177
176
"Test expectation is not met!\n Buffer content was:\n {:?}\n but expected:\n {:?}" ,
Original file line number Diff line number Diff line change 207
207
#![ allow(
208
208
// this happens on the GL backend, where it is both thread safe and non-thread safe in the same code.
209
209
clippy:: arc_with_non_send_sync,
210
- // for `if_then_panic` until it reaches stable
211
- unknown_lints,
212
210
// We don't use syntax sugar where it's not necessary.
213
211
clippy:: match_like_matches_macro,
214
212
// Redundant matching is more explicit.
221
219
clippy:: single_match,
222
220
// Push commands are more regular than macros.
223
221
clippy:: vec_init_then_push,
224
- // "if panic" is a good uniform construct.
225
- clippy:: if_then_panic,
226
222
// We unsafe impl `Send` for a reason.
227
223
clippy:: non_send_fields_in_send_ty,
228
224
// TODO!
Original file line number Diff line number Diff line change @@ -1482,7 +1482,6 @@ impl Limits {
1482
1482
#[ cfg_attr( feature = "serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
1483
1483
pub struct DownlevelLimits { }
1484
1484
1485
- #[ allow( unknown_lints) ] // derivable_impls is nightly only currently
1486
1485
#[ allow( clippy:: derivable_impls) ]
1487
1486
impl Default for DownlevelLimits {
1488
1487
fn default ( ) -> Self {
You can’t perform that action at this time.
0 commit comments