Update test output.
This commit is contained in:
parent
09e4a75f29
commit
b66fb641da
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user