Make some slice coercions explicit - part 3
auto merge of #18668 : nick29581/rust/co3, r=acrichto