summaryrefslogtreecommitdiffstats
path: root/src/test/ui/issues/issue-27340.rs
blob: 61c77cc1ff39b8c1638e8e28a898d90894ccb06e (plain)
1
2
3
4
5
6
struct Foo;
#[derive(Copy, Clone)]
//~^ ERROR the trait `Copy` may not be implemented for this type
struct Bar(Foo);

fn main() {}