fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0308]: mismatched types 2 --> $DIR/issue-12552.rs:6:5 3 | 4LL | match t { 5 | - this expression has type `std::result::Result<_, {integer}>` 6LL | Some(k) => match k { 7 | ^^^^^^^ expected enum `std::result::Result`, found enum `std::option::Option` 8 | 9 = note: expected enum `std::result::Result<_, {integer}>` 10 found enum `std::option::Option<_>` 11 12error[E0308]: mismatched types 13 --> $DIR/issue-12552.rs:9:5 14 | 15LL | match t { 16 | - this expression has type `std::result::Result<_, {integer}>` 17... 18LL | None => () 19 | ^^^^ expected enum `std::result::Result`, found enum `std::option::Option` 20 | 21 = note: expected enum `std::result::Result<_, {integer}>` 22 found enum `std::option::Option<_>` 23 24error: aborting due to 2 previous errors 25 26For more information about this error, try `rustc --explain E0308`.