1 error[E0308]: mismatched types
2 --> $DIR/pattern-tyvar.rs:17:18
4 LL | bar::t1(_, Some::<isize>(x)) => {
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`.