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