]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0206.rs
Merge commit '57b3c4b90f4346b3990c1be387c3b3ca7b78412c' into clippyup
[rust.git] / src / test / ui / error-codes / E0206.rs
1 #[derive(Copy, Clone)]
2 struct Bar;
3
4 impl Copy for &'static mut Bar { }
5 //~^ ERROR the trait `Copy` may not be implemented for this type
6
7 fn main() {
8 }