Make some slice coercions explicit - part 1
auto merge of #18666 : nick29581/rust/co1, r=acrichto