rust/src/test/ui/issues/issue-41974.rs
2018-12-25 21:08:33 -07:00

15 lines
244 B
Rust

#[derive(Copy, Clone)]
struct Flags;
trait A {
}
impl<T> Drop for T where T: A { //~ ERROR E0119
//~^ ERROR E0120
//~| ERROR E0210
fn drop(&mut self) {
}
}
fn main() {}