blob: fba3462a24b2f122e7989c9bc758726b51e738ec [file] [log] [blame]
//! regression test for issue <https://github.com/rust-lang/rust/issues/28568>
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() {}