blob: 29e305577acbc675dd36fd7ae7b20d58b2e10a29 [file] [log] [blame]
// Test that we check associated type bounds for WFedness.
#![feature(associated_type_defaults)]
#![allow(dead_code)]
trait ExtraCopy<T:Copy> { }
trait SomeTrait<T> { //~ ERROR E0277
type Type1: ExtraCopy<T>;
}
fn main() { }