// Check that we enforce WF conditions also for types in fns. struct MustBeCopy { t: T } struct Foo { // needs T: 'static x: fn() -> MustBeCopy //~ ERROR E0277 } fn main() { }