Skip to content

Commit 8b10d42

Browse files
committed
Fix NLL test
1 parent f975ece commit 8b10d42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ LL | let z: i32 = x;
1313
| expected due to this
1414
...
1515
LL | type WrongGeneric<T> = impl 'static;
16-
| ------------------------------------ the found opaque type
16+
| ------------ the found opaque type
1717
|
1818
= note: expected type `i32`
19-
found opaque type `WrongGeneric::<&{integer}>`
19+
found opaque type `impl Sized`
2020

2121
error: aborting due to 2 previous errors
2222

0 commit comments

Comments
 (0)