blob: 65a1771d41a4877cfeeca4c7b6e8ba2a95244f67 [file] [log] [blame]
// Check that we enforce WF conditions also for where clauses in fn items.
#![allow(dead_code)]
trait MustBeCopy<T:Copy> {
}
fn bar<T,U>() //~ ERROR E0277
where T: MustBeCopy<U>
{
}
fn main() { }