]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/resolve/token-error-correct-3.stderr
Auto merge of #43270 - petrochenkov:fixstab, r=alexcrichton
[rust.git] / src / test / ui / resolve / token-error-correct-3.stderr
index d234c8538fe27a23d8128a70fbb317c7b31043d3..2e8cc40dc5175dd73b38d09c9b55ca9b90dc866f 100644 (file)
@@ -35,10 +35,12 @@ error[E0308]: mismatched types
   --> $DIR/token-error-correct-3.rs:25:13
    |
 25 |             fs::create_dir_all(path.as_ref()).map(|()| true) //~ ERROR: mismatched types
-   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected (), found enum `std::result::Result`
+   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: did you mean to add a semicolon here?: `;`
+   |             |
+   |             expected (), found enum `std::result::Result`
    |
    = note: expected type `()`
               found type `std::result::Result<bool, std::io::Error>`
 
-error: aborting due to previous error(s)
+error: aborting due to 5 previous errors