Fix NLL test

This commit is contained in:
Matthew Jasper 2020-06-11 12:34:36 +01:00
parent f975eceb62
commit 8b10d42ebe

View file

@ -13,10 +13,10 @@ LL | let z: i32 = x;
| expected due to this
...
LL | type WrongGeneric<T> = impl 'static;
| ------------------------------------ the found opaque type
| ------------ the found opaque type
|
= note: expected type `i32`
found opaque type `WrongGeneric::<&{integer}>`
found opaque type `impl Sized`
error: aborting due to 2 previous errors