fork/rust

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

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

master
707 B19 linesraw
1error[E0308]: arguments to this function are incorrect
2  --> $DIR/complex.rs:14:3
3   |
4LL |   complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
5   |   ^^^^^^^ --- expected `u32`, found floating-point number
6   |
7note: function defined here
8  --> $DIR/complex.rs:11:4
9   |
10LL | fn complex(_i: u32, _s: &str, _e: E, _f: F, _g: G, _x: X, _y: Y, _z: Z ) {}
11   |    ^^^^^^^ -------  --------  -----  -----  -----  -----  -----  -----
12help: did you mean
13   |
14LL |   complex(/* u32 */, &"", /* E */, F::X2, G{}, X {}, Y {}, Z {});
15   |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0308`.