fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0308]: mismatched types 2 --> $DIR/issue-12552.rs:6:5 3 | 4LL | match t { 5 | - this match 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 | None => () 16 | ^^^^ expected enum `std::result::Result`, found enum `std::option::Option` 17 | 18 = note: expected enum `std::result::Result<_, {integer}>` 19 found enum `std::option::Option<_>` 20 21error: aborting due to 2 previous errors 22 23For more information about this error, try `rustc --explain E0308`.