rust/src/test/ui/issues/issue-28568.rs
2018-12-25 21:08:33 -07:00

13 lines
189 B
Rust

struct MyStruct;
impl Drop for MyStruct {
fn drop(&mut self) { }
}
impl Drop for MyStruct {
//~^ ERROR conflicting implementations of trait
fn drop(&mut self) { }
}
fn main() {}