fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
579 B11 linesraw
1error[E0369]: cannot multiply `{integer}` to `std::vec::Vec<isize>`
2  --> $DIR/pattern-tyvar-2.rs:3:71
3   |
4LL | fn foo(t: Bar) -> isize { match t { Bar::T1(_, Some(x)) => { return x * 3; } _ => { panic!(); } } }
5   |                                                                     - ^ - {integer}
6   |                                                                     |
7   |                                                                     std::vec::Vec<isize>
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0369`.