Use span_suggestion instead of span_err_help

This commit is contained in:
keatinge 2018-01-06 15:22:29 -05:00
parent 8260209bb2
commit a9b746bb23
2 changed files with 4 additions and 6 deletions

View file

@ -2,9 +2,7 @@ error: unexpected token `||` after pattern
--> $DIR/multiple-pattern-typo.rs:14:15
|
14 | 1 | 2 || 3 => (), //~ ERROR unexpected token `||` after pattern
| ^^
|
= help: did you mean to use `|` to specify multiple patterns?
| ^^ help: use a single `|` to specify multiple patterns: `|`
error: aborting due to previous error