1 error[E0271]: type mismatch resolving `<std::option::Option<f32> as std::ops::Try>::Ok == {integer}`
2 --> $DIR/try-block-type-error.rs:10:9
7 | expected f32, found integer
8 | help: use a float literal: `42.0`
10 error[E0271]: type mismatch resolving `<std::option::Option<i32> as std::ops::Try>::Ok == ()`
11 --> $DIR/try-block-type-error.rs:16:5
14 | ^ expected i32, found ()
16 error: aborting due to 2 previous errors
18 For more information about this error, try `rustc --explain E0271`.