blob: 86f4e4d86072af5bf734f1ef5c12db3536627f0f (
plain)
1
2
3
4
5
6
7
8
9
10
|
//@ check-fail
struct Foo;
impl Drop for Foo { //~ ERROR: not all trait items implemented
const SPLOK: u32 = 0; //~ ERROR: not a member of trait
}
const X: Foo = Foo;
fn main() {}
|