]> git.lizzy.rs Git - rust.git/blob - tests/ui/noexporttypeexe.stderr
Rollup merge of #107615 - notriddle:notriddle/nbsp, r=GuillaumeGomez
[rust.git] / tests / ui / noexporttypeexe.stderr
1 error[E0308]: mismatched types
2   --> $DIR/noexporttypeexe.rs:10:18
3    |
4 LL |   let x: isize = noexporttypelib::foo();
5    |          -----   ^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found `Option<isize>`
6    |          |
7    |          expected due to this
8    |
9    = note: expected type `isize`
10               found enum `Option<isize>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.