]> git.lizzy.rs Git - rust.git/blob - tests/ui/suggestions/missing-bound-in-manual-copy-impl.rs
Rollup merge of #105795 - nicholasbishop:bishop-stabilize-efiapi, r=joshtriplett
[rust.git] / tests / 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() {}