rust/tests/ui/issues/issue-28568.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
189 B
Rust
Raw Normal View History

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() {}