blob: d8746ba4d6e526a6e96610f168dbc86ac45789ec [file] [log] [blame]
// Test that we check supertrait bounds for WFedness.
#![feature(associated_type_defaults)]
#![allow(dead_code)]
trait ExtraCopy<T:Copy> { }
trait SomeTrait<T,U> //~ ERROR E0277
where T: ExtraCopy<U>
{
}
fn main() { }