]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/noexporttypeexe.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / noexporttypeexe.stderr
index 329787fe74444865d31ee6e277b4cb3454cc67eb..e80fcd13685b658f26ad7bb97b754a27da675ec3 100644 (file)
@@ -2,10 +2,12 @@ error[E0308]: mismatched types
   --> $DIR/noexporttypeexe.rs:10:18
    |
 LL |   let x: isize = noexporttypelib::foo();
-   |                  ^^^^^^^^^^^^^^^^^^^^^^ expected isize, found enum `std::option::Option`
+   |          -----   ^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found enum `std::option::Option`
+   |          |
+   |          expected due to this
    |
    = note: expected type `isize`
-              found type `std::option::Option<isize>`
+              found enum `std::option::Option<isize>`
 
 error: aborting due to previous error