1 error[E0308]: mismatched types
2 --> $DIR/noexporttypeexe.rs:10:18
4 LL | let x: isize = noexporttypelib::foo();
5 | ----- ^^^^^^^^^^^^^^^^^^^^^^ expected `isize`, found enum `Option`
9 = note: expected type `isize`
10 found enum `Option<isize>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.