Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
drop
/
nonsense-drop-impl-issue-139278.rs
blob: 86f4e4d86072af5bf734f1ef5c12db3536627f0f [
file
] [
log
] [
blame
]
//@ 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
()
{}