1 error[E0308]: mismatched types
2 --> $DIR/pattern-tyvar.rs:5:18
5 | - this match expression evaluates to `std::option::Option<std::vec::Vec<isize>>`
6 LL | Bar::T1(_, Some::<isize>(x)) => { //~ ERROR mismatched types
7 | ^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found isize
9 = note: expected type `std::option::Option<std::vec::Vec<isize>>`
10 found type `std::option::Option<isize>`
12 error: aborting due to previous error
14 For more information about this error, try `rustc --explain E0308`.