]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-11844.stderr
Rollup merge of #86479 - exphp-forks:float-debug-exponential, r=yaahc
[rust.git] / src / test / ui / issues / issue-11844.stderr
1 error[E0308]: mismatched types
2   --> $DIR/issue-11844.rs:6:9
3    |
4 LL |     match a {
5    |           - this expression has type `Option<Box<{integer}>>`
6 LL |         Ok(a) =>
7    |         ^^^^^ expected enum `Option`, found enum `Result`
8    |
9    = note: expected enum `Option<Box<{integer}>>`
10               found enum `Result<_, _>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.