]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27340.rs
Merge commit '984330a6ee3c4d15626685d6dc8b7b759ff630bd' into clippyup
[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() {}