rust/tests/ui/issues/issue-28568.rs
2023-01-11 09:32:08 +00: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() {}