File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 3636 clippy:: needless_question_mark,
3737 clippy:: needless_lifetimes,
3838 clippy:: too_long_first_doc_paragraph,
39- // Temporarily disabled as fixing it would cause conflicts
40- clippy:: manual_repeat_n,
4139 // We don't use translatable diagnostics
4240 rustc:: diagnostic_outside_of_impl,
4341 // 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> {
335335 // Initialize with `0`.
336336 this. write_bytes_ptr (
337337 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 ( ) ) ,
339339 ) ?;
340340 // Set selected fields.
341341 this. write_int_fields_named (
You can’t perform that action at this time.
0 commit comments