]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/missing-bound-in-manual-copy-impl.fixed
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / suggestions / missing-bound-in-manual-copy-impl.fixed
1 // run-rustfix
2
3 #[derive(Clone)]
4 struct Wrapper<T>(T);
5
6 impl<S: Copy> Copy for Wrapper<S> {}
7 //~^ ERROR the trait `Copy` may not be implemented for this type
8
9 fn main() {}