diff options
Diffstat (limited to 'src/test/ui/parser/assoc-type-in-type-arg.rs')
-rw-r--r-- | src/test/ui/parser/assoc-type-in-type-arg.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/test/ui/parser/assoc-type-in-type-arg.rs b/src/test/ui/parser/assoc-type-in-type-arg.rs deleted file mode 100644 index 000956ea2..000000000 --- a/src/test/ui/parser/assoc-type-in-type-arg.rs +++ /dev/null @@ -1,11 +0,0 @@ -trait Tr { - type TrSubtype; -} - -struct Bar<'a, Item: Tr, <Item as Tr>::TrSubtype: 'a> { - //~^ ERROR bounds on associated types do not belong here - item: Item, - item_sub: &'a <Item as Tr>::TrSubtype, -} - -fn main() {} |