]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/pattern-tyvar.stderr
Auto merge of #56160 - oli-obk:const_fn_let, r=nikomatsakis
[rust.git] / src / test / ui / pattern / pattern-tyvar.stderr
1 error[E0308]: mismatched types
2   --> $DIR/pattern-tyvar.rs:17:18
3    |
4 LL |       bar::t1(_, Some::<isize>(x)) => {
5    |                  ^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found isize
6    |
7    = note: expected type `std::option::Option<std::vec::Vec<isize>>`
8               found type `std::option::Option<isize>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.