summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0184.rs
blob: 0c448e4ad8bcfcd8e5842755bc12f5d161cf381f (plain)
1
2
3
4
5
6
7
8
9
10
#[derive(Copy)] //~ ERROR E0184
struct Foo;

impl Drop for Foo {
    fn drop(&mut self) {
    }
}

fn main() {
}