]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27340.rs
Rollup merge of #80327 - PankajChaudhary5:PankajChaudhary, r=GuillaumeGomez
[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() {}