diff options
Diffstat (limited to 'tests/ui/parser/bounds-lifetime-2.rs')
-rw-r--r-- | tests/ui/parser/bounds-lifetime-2.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/ui/parser/bounds-lifetime-2.rs b/tests/ui/parser/bounds-lifetime-2.rs new file mode 100644 index 000000000..f184107bb --- /dev/null +++ b/tests/ui/parser/bounds-lifetime-2.rs @@ -0,0 +1,3 @@ +type A = for<'a + 'b> fn(); //~ ERROR expected one of `,`, `:`, or `>`, found `+` + +fn main() {} |