blob: b2afeacdf68c2261189a01d08cb19e95e336de59 [file] [log] [blame]
error[E0308]: mismatched types
--> $DIR/pattern-tyvar.rs:5:18
|
LL | match t {
| - this match expression has type `std::option::Option<std::vec::Vec<isize>>`
LL | Bar::T1(_, Some::<isize>(x)) => {
| ^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found `isize`
|
= note: expected enum `std::option::Option<std::vec::Vec<isize>>`
found enum `std::option::Option<isize>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.