]> git.lizzy.rs Git - rust.git/blob - src/test/ui/suggestions/missing-bound-in-manual-copy-impl.rs
Auto merge of #103569 - RalfJung:miri-test-macos, r=Mark-Simulacrum
[rust.git] / src / test / ui / suggestions / missing-bound-in-manual-copy-impl.rs
1 // run-rustfix
2
3 #[derive(Clone)]
4 struct Wrapper<T>(T);
5
6 impl<S> Copy for Wrapper<S> {}
7 //~^ ERROR the trait `Copy` may not be implemented for this type
8
9 fn main() {}