]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-27340.rs
Auto merge of #95362 - scottmcm:calloc-arrays, r=Mark-Simulacrum
[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() {}