Make some slice coercions explicit - part 2
auto merge of #18667 : nick29581/rust/co2, r=acrichto