]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/pattern-tyvar.stderr
Rollup merge of #98583 - joshtriplett:stabilize-windows-symlink-types, r=thomcc
[rust.git] / src / test / ui / pattern / pattern-tyvar.stderr
1 error[E0308]: mismatched types
2   --> $DIR/pattern-tyvar.rs:5:18
3    |
4 LL |     match t {
5    |           - this expression has type `Bar`
6 LL |       Bar::T1(_, Some::<isize>(x)) => {
7    |                  ^^^^^^^^^^^^^^^^ expected struct `Vec`, found `isize`
8    |
9    = note: expected enum `Option<Vec<isize>>`
10               found enum `Option<isize>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.