diff options
Diffstat (limited to 'src/test/ui/parser/type-alias-where.rs')
-rw-r--r-- | src/test/ui/parser/type-alias-where.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/type-alias-where.rs b/src/test/ui/parser/type-alias-where.rs deleted file mode 100644 index 62e301cb4..000000000 --- a/src/test/ui/parser/type-alias-where.rs +++ /dev/null @@ -1,11 +0,0 @@ -// 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() {} |