fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
632 B24 linesraw
1error[E0308]: mismatched types
2  --> $DIR/too-long.rs:37:28
3   |
4LL |     qux.foo(a, b, c, d, e, f, g, h, i, j, k, l);
5   |         ---                ^ expected `i32`, found `&i32`
6   |         |
7   |         arguments to this method are incorrect
8   |
9note: method defined here
10  --> $DIR/too-long.rs:4:8
11   |
12LL |     fn foo(
13   |        ^^^
14...
15LL |         f: i32,
16   |         ------
17help: consider dereferencing the borrow
18   |
19LL |     qux.foo(a, b, c, d, e, *f, g, h, i, j, k, l);
20   |                            +
21
22error: aborting due to previous error
23
24For more information about this error, try `rustc --explain E0308`.