#![feature(no_core)] #![feature(lang_items)] #![no_core] #[lang = "sized"] trait Sized {} trait A {} struct Cell { // { dg-warning "struct is never constructed" "" { target *-*-* } .-1 } x: X, } impl A> for Cell where T: A {}