]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/pattern/pattern-tyvar.stderr
Reword label as per review comment
[rust.git] / src / test / ui / pattern / pattern-tyvar.stderr
index dae17fa51661059496cbcad488a5fbd36c738450..69cd552aabd1bf56c29f311977558064e6daa56a 100644 (file)
@@ -1,6 +1,8 @@
 error[E0308]: mismatched types
   --> $DIR/pattern-tyvar.rs:5:18
    |
+LL |     match t {
+   |           - this match expression has type `std::option::Option<std::vec::Vec<isize>>`
 LL |       Bar::T1(_, Some::<isize>(x)) => { //~ ERROR mismatched types
    |                  ^^^^^^^^^^^^^^^^ expected struct `std::vec::Vec`, found isize
    |