blob: 8259e932c640d6f756869049fc263cb250a7b755 [file] [log] [blame]
#![deny(dead_code)]
trait Tr { //~ ERROR trait `Tr` is never used
const I: Self;
}
struct Foo; //~ ERROR struct `Foo` is never constructed
impl Tr for Foo {
const I: Self = Foo;
}
fn main() {}