2018-08-08 07:28:26 -05:00
|
|
|
error[E0369]: binary operation `*` cannot be applied to type `std::vec::Vec<isize>`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/pattern-tyvar-2.rs:3:69
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2018-12-16 21:21:47 -06:00
|
|
|
LL | fn foo(t: Bar) -> isize { match t { Bar::T1(_, Some(x)) => { return x * 3; } _ => { panic!(); } } }
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= note: an implementation of `std::ops::Mul` might be missing for `std::vec::Vec<isize>`
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|