#![feature(coerce_unsized)] use std::ops::CoerceUnsized; struct Foo { a: i32, b: T, //~ ERROR E0277 c: U, } impl CoerceUnsized> for Foo {} //~^ ERROR E0375 fn main() {}