]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/noexporttypeexe.stderr
Optimize `TyKind::eq`.
[rust.git] / tests / ui / noexporttypeexe.stderr
index 7fc239613e2d767143bf6b977930a1e7695d9c77..26bafd31d011b72d5434af700496a317c8f6dd1f 100644 (file)
@@ -2,7 +2,7 @@ error[E0308]: mismatched types
   --> $DIR/noexporttypeexe.rs:10:18
    |
 LL |   let x: isize = noexporttypelib::foo();
-   |          -----   ^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found enum `Option`
+   |          -----   ^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `Option<isize>`
    |          |
    |          expected due to this
    |