// Check that we enforce WF conditions also for where clauses in fn items. #![allow(dead_code)] trait MustBeCopy { } fn bar() where T: MustBeCopy //~ ERROR E0277 { } fn main() { }