Fix trait object use with DST

See rust-lang/rust#17322.