]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/coercion/coercion-missing-tail-expected-type.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / coercion / coercion-missing-tail-expected-type.stderr
index da8db4331dffbd5a8ee4dcd4b6b9a7dc43ed4022..df1fb58e25a02e9b87894a4ac21e63f463b32202 100644 (file)
@@ -12,13 +12,13 @@ error[E0308]: mismatched types
   --> $DIR/coercion-missing-tail-expected-type.rs:8:13
    |
 LL | fn foo() -> Result<u8, u64> {
-   |    ---      ^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
+   |    ---      ^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
 LL |     Ok(1);
    |          - help: consider removing this semicolon
    |
-   = note:   expected enum `std::result::Result<u8, u64>`
+   = note:   expected enum `Result<u8, u64>`
            found unit type `()`
 
 error: aborting due to 2 previous errors