1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
error[E0308]: mismatched types
--> $DIR/complex.rs:14:11
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^ expected `u32`, found floating-point number
error[E0308]: mismatched types
--> $DIR/complex.rs:14:16
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^^ expected `&str`, found struct `H`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:22
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^ expected enum `E`, found `&&'static str`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:27
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^ expected enum `F`, found struct `G`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:32
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^^^ expected struct `G`, found enum `F`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:39
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^^ expected struct `X`, found struct `Z`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:45
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^^ expected struct `Y`, found struct `X`
error[E0308]: mismatched types
--> $DIR/complex.rs:14:51
|
LL | complex(1.0, H {}, &"", G{}, F::X2, Z {}, X {}, Y {});
| ^^^^ expected struct `Z`, found struct `Y`
error: aborting due to 8 previous errors
For more information about this error, try `rustc --explain E0308`.
|