2020-10-17 21:59:51 -05:00
|
|
|
error[E0369]: cannot multiply `Vec<isize>` by `{integer}`
|
2019-03-27 12:13:09 -05:00
|
|
|
--> $DIR/pattern-tyvar-2.rs:3:71
|
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!(); } } }
|
2019-03-27 12:13:09 -05:00
|
|
|
| - ^ - {integer}
|
|
|
|
| |
|
2020-09-02 02:40:56 -05:00
|
|
|
| Vec<isize>
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-11-21 09:44:16 -06:00
|
|
|
error: aborting due to 1 previous error
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0369`.
|