blob: 5a614cbdd15619c3867ffe6251da3b1339a2df1b [file] [log] [blame]
#[derive(Copy, Clone)]
struct Foo<T>(T);
fn main() {
[Foo(String::new()); 4];
//~^ ERROR the trait bound `Foo<String>: Copy` is not satisfied [E0277]
}