]> git.proxmox.com Git - rustc.git/blobdiff - tests/ui/coercion/coercion-missing-tail-expected-type.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / ui / coercion / coercion-missing-tail-expected-type.stderr
index 4c04bb11351692c81e3db9e01238833c819e977a..288e945f1f8d5eb0625bfaf5357849ff89ed4085 100644 (file)
@@ -12,7 +12,7 @@ error[E0308]: mismatched types
   --> $DIR/coercion-missing-tail-expected-type.rs:8:13
    |
 LL | fn foo() -> Result<u8, u64> {
-   |    ---      ^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
+   |    ---      ^^^^^^^^^^^^^^^ expected `Result<u8, u64>`, found `()`
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
 LL |     Ok(1);