diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2020-06-11 12:34:36 +0100 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2020-06-11 17:08:23 +0100 |
| commit | 8b10d42ebe7843bcaed58dcbbc8836a0f27b54c9 (patch) | |
| tree | 0a2937b4eebc7854400a730574626e1af80a1f8b | |
| parent | f975eceb62f3ecd9152c1eac998d2d9630323853 (diff) | |
| download | rust-8b10d42ebe7843bcaed58dcbbc8836a0f27b54c9.tar.gz rust-8b10d42ebe7843bcaed58dcbbc8836a0f27b54c9.zip | |
Fix NLL test
| -rw-r--r-- | src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr b/src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr index 9549074d4bf..76654d7a718 100644 --- a/src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr +++ b/src/test/ui/type-alias-impl-trait/generic_type_does_not_live_long_enough.nll.stderr @@ -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 |
