diff options
Diffstat (limited to 'tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs')
-rw-r--r-- | tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs b/tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs index 3903bfe9b..64f09f823 100644 --- a/tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs +++ b/tests/ui/traits/non_lifetime_binders/late-bound-in-anon-ct.rs @@ -5,7 +5,7 @@ fn foo() -> usize where for<T> [i32; { let _: T = todo!(); 0 }]:, - //~^ ERROR cannot capture late-bound type parameter in a constant + //~^ ERROR cannot capture late-bound type parameter in constant {} fn main() {} |