blob: 62e301cb4086f745ac84ba7347e9ca0662a99a3c [file] [log] [blame]
// check-fail
// Fine, but lints as unused
type Foo where u32: Copy = ();
// Not fine.
type Bar = () where u32: Copy;
//~^ ERROR where clauses are not allowed
type Baz = () where;
//~^ ERROR where clauses are not allowed
fn main() {}