]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/parser/issue-33413.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / parser / issue-33413.stderr
index 7e5c348e36ceac5073e18730a04b066186b5f148..ac320f095a2389444aec93e1103982504279d178 100644 (file)
@@ -8,12 +8,9 @@ error[E0308]: mismatched types
   --> $DIR/issue-33413.rs:4:23
    |
 LL |     fn f(*, a: u8) -> u8 {}
-   |        -              ^^ expected u8, found ()
+   |        -              ^^ expected `u8`, found `()`
    |        |
    |        implicitly returns `()` as its body has no tail or `return` expression
-   |
-   = note: expected type `u8`
-              found type `()`
 
 error: aborting due to 2 previous errors