blob: 292699d6aa3ea18ceef55a61e1b7840edabb856a [file]
//@ build-pass
// Regression test for https://github.com/rust-lang/rust/issues/155037
#![feature(associated_type_defaults)]
trait Trait {
type where = ();
//~^ WARNING where clause not allowed here
}
fn main() {}