• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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` cannot be implemented for this type
8 
main()9 fn main() {}
10