]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-6458-4.stderr
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / test / ui / issues / issue-6458-4.stderr
index 00ebff9007ded81b7f9bc026160d2be900959064..0cf82d37d5d0b7361b820bb28bcc31eb24fe529a 100644 (file)
@@ -2,13 +2,13 @@ error[E0308]: mismatched types
   --> $DIR/issue-6458-4.rs:1:20
    |
 LL | fn foo(b: bool) -> Result<bool,String> {
-   |    ---             ^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()`
+   |    ---             ^^^^^^^^^^^^^^^^^^^ expected enum `Result`, found `()`
    |    |
    |    implicitly returns `()` as its body has no tail or `return` expression
 LL |     Err("bar".to_string());
    |                           - help: consider removing this semicolon
    |
-   = note:   expected enum `std::result::Result<bool, String>`
+   = note:   expected enum `Result<bool, String>`
            found unit type `()`
 
 error: aborting due to previous error