summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-28568.rs
blob: ce511158f0051b4a48f77e3d92a6403dd43ae077 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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() {}