Sign in
android
/
toolchain
/
rustc
/
87880447cc5437c45a3562596a9766d9797e7318
/
.
/
tests
/
ui
/
where-clauses
/
where-clause-placement-type-alias.rs
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
()
{}