Fix ICE with static DST coercion

Closes #16911
auto merge of #16934 : nick29581/rust/dst-bug-6, r=pcwalton

Closes #16911 

r?