]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27340.rs
Auto merge of #87150 - rusticstuff:simplify_wrapping_neg, r=m-ou-se
[rust.git] / src / test / ui / issues / issue-27340.rs
1 struct Foo;
2 #[derive(Copy, Clone)]
3 //~^ ERROR the trait `Copy` may not be implemented for this type
4 struct Bar(Foo);
5
6 fn main() {}