summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-41974.rs
blob: 10c363479a374a6288175bef782f17f0dca4b3c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[derive(Copy, Clone)]
struct Flags;

trait A {
}

impl<T> Drop for T where T: A {
    //~^ ERROR E0120
    //~| ERROR E0210
    fn drop(&mut self) {
    }
}

fn main() {}