]> git.lizzy.rs Git - rust.git/blob - src/test/ui/noexporttypeexe.stderr
Override rustc version in ui and mir-opt tests to get stable hashes
[rust.git] / src / test / 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 enum `Option`
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`.