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