Update test output.

This commit is contained in:
Mara Bos 2021-11-16 19:57:12 +01:00
parent 09e4a75f29
commit b66fb641da
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ fn foo(x: Ty) -> Ty {
Ty::List(elem) => foo(elem),
//~^ ERROR mismatched types
//~| HELP try dereferencing the `Box`
//~| HELP try using a variant of the expected enum
//~| HELP try wrapping
}
}

View File

@ -10,10 +10,10 @@ help: try dereferencing the `Box`
|
LL | Ty::List(elem) => foo(*elem),
| +
help: try using a variant of the expected enum
help: try wrapping the expression in `Ty::List`
|
LL | Ty::List(elem) => foo(Ty::List(elem)),
| ~~~~~~~~~~~~~~
| +++++++++ +
error: aborting due to previous error