File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 36
36
clippy:: needless_question_mark,
37
37
clippy:: needless_lifetimes,
38
38
clippy:: too_long_first_doc_paragraph,
39
- // Temporarily disabled as fixing it would cause conflicts
40
- clippy:: manual_repeat_n,
41
39
// We don't use translatable diagnostics
42
40
rustc:: diagnostic_outside_of_impl,
43
41
// We are not implementing queries here so it's fine
Original file line number Diff line number Diff line change @@ -335,7 +335,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
335
335
// Initialize with `0`.
336
336
this. write_bytes_ptr (
337
337
system_info. ptr ( ) ,
338
- iter:: repeat ( 0u8 ) . take ( system_info. layout . size . bytes_usize ( ) ) ,
338
+ iter:: repeat_n ( 0u8 , system_info. layout . size . bytes_usize ( ) ) ,
339
339
) ?;
340
340
// Set selected fields.
341
341
this. write_int_fields_named (
You can’t perform that action at this time.
0 commit comments