#![feature(coerce_unsized)] use std::ops::CoerceUnsized; struct Foo { //~ ERROR `T` is never used a: i32, } impl CoerceUnsized> for Foo //~ ERROR E0374 where T: CoerceUnsized {} fn main() {}