blob: 0382358fbbe3b5b630a126503b4764d50b36431b [file] [log] [blame] [edit]
//@ run-rustfix
#![allow(dead_code)]
#[derive(Clone)]
struct Wrapper<T>(T);
impl<S: Copy> Copy for Wrapper<S> {}
//~^ ERROR the trait `Copy` cannot be implemented for this type
fn main() {}