2015-09-26 15:12:11 -05:00
|
|
|
struct MyStruct;
|
|
|
|
|
|
|
|
impl Drop for MyStruct {
|
|
|
|
fn drop(&mut self) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
impl Drop for MyStruct {
|
2015-12-29 23:18:24 -06:00
|
|
|
//~^ ERROR conflicting implementations of trait
|
2015-09-26 15:12:11 -05:00
|
|
|
fn drop(&mut self) { }
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|