]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/match-refactor-to-expr.stderr
New upstream version 1.46.0~beta.2+dfsg1
[rustc.git] / src / test / ui / parser / match-refactor-to-expr.stderr
index 5cbf0232bc31ef990d7e7a33d66cf98b3eb5228b..15107ab9a258b699a131bba45734928a817f6ff5 100644 (file)
@@ -1,13 +1,13 @@
 error: expected one of `.`, `?`, `{`, or an operator, found `;`
-  --> $DIR/match-refactor-to-expr.rs:6:9
+  --> $DIR/match-refactor-to-expr.rs:8:9
    |
 LL |         match
    |         -----
    |         |
    |         while parsing this match expression
    |         help: try removing this `match`
-LL |         Some(4).unwrap_or_else(5)
-   |                                  - expected one of `.`, `?`, `{`, or an operator
+LL |         Some(4).unwrap_or(5)
+   |                             - expected one of `.`, `?`, `{`, or an operator
 LL |
 LL |         ;
    |         ^ unexpected token