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