1 error[E0204]: the trait `Copy` may not be implemented for this type
2 --> $DIR/copy-is-not-modulo-regions.rs:13:21
4 LL | struct Bar<'lt>(Foo<'lt>);
5 | -------- this field does not implement `Copy`
7 LL | impl<'any> Copy for Bar<'any> {}
10 note: the `Copy` impl for `Foo<'any>` requires that `'any: 'static`
11 --> $DIR/copy-is-not-modulo-regions.rs:10:17
13 LL | struct Bar<'lt>(Foo<'lt>);
15 help: consider restricting type parameter `'any`
17 LL | impl<'any: 'static> Copy for Bar<'any> {}
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0204`.