diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs b/tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs new file mode 100644 index 000000000..221e9133f --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-non_lifetime_binders.rs @@ -0,0 +1,4 @@ +fn foo() where for<T> T:, {} +//~^ ERROR only lifetime parameters can be used in this context + +fn main() {} |