diff options
Diffstat (limited to 'tests/ui/parser/recover-assoc-lifetime-constraint.rs')
-rw-r--r-- | tests/ui/parser/recover-assoc-lifetime-constraint.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/parser/recover-assoc-lifetime-constraint.rs b/tests/ui/parser/recover-assoc-lifetime-constraint.rs new file mode 100644 index 000000000..558fcdfe1 --- /dev/null +++ b/tests/ui/parser/recover-assoc-lifetime-constraint.rs @@ -0,0 +1,6 @@ +#[cfg(FALSE)] +fn syntax() { + bar::<Item = 'a>(); //~ ERROR associated lifetimes are not supported +} + +fn main() {} |