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