@@ -2,9 +2,9 @@ error[E0308]: arguments to this function are incorrect
2
2
--> $DIR/swapped_arguments.rs:8:3
3
3
|
4
4
LL | two_args(1.0, 1);
5
- | ^^^^^^^^ --- - expected `f32`,found `{integer}`
5
+ | ^^^^^^^^ --- - expected `f32`, found `{integer}`
6
6
| |
7
- | expected `i32`,found `{float}`
7
+ | expected `i32`, found `{float}`
8
8
|
9
9
note: function defined here
10
10
--> $DIR/swapped_arguments.rs:3:4
@@ -20,9 +20,9 @@ error[E0308]: arguments to this function are incorrect
20
20
--> $DIR/swapped_arguments.rs:9:3
21
21
|
22
22
LL | three_args(1.0, 1, "");
23
- | ^^^^^^^^^^ --- - expected `f32`,found `{integer}`
23
+ | ^^^^^^^^^^ --- - expected `f32`, found `{integer}`
24
24
| |
25
- | expected `i32`,found `{float}`
25
+ | expected `i32`, found `{float}`
26
26
|
27
27
note: function defined here
28
28
--> $DIR/swapped_arguments.rs:4:4
@@ -38,9 +38,9 @@ error[E0308]: arguments to this function are incorrect
38
38
--> $DIR/swapped_arguments.rs:10:3
39
39
|
40
40
LL | three_args( 1, "", 1.0);
41
- | ^^^^^^^^^^ -- --- expected `&str`,found `{float}`
41
+ | ^^^^^^^^^^ -- --- expected `&str`, found `{float}`
42
42
| |
43
- | expected `f32`,found `&'static str`
43
+ | expected `f32`, found `&'static str`
44
44
|
45
45
note: function defined here
46
46
--> $DIR/swapped_arguments.rs:4:4
@@ -56,9 +56,9 @@ error[E0308]: arguments to this function are incorrect
56
56
--> $DIR/swapped_arguments.rs:11:3
57
57
|
58
58
LL | three_args( "", 1.0, 1);
59
- | ^^^^^^^^^^ -- - expected `&str`,found `{integer}`
59
+ | ^^^^^^^^^^ -- - expected `&str`, found `{integer}`
60
60
| |
61
- | expected `i32`,found `&'static str`
61
+ | expected `i32`, found `&'static str`
62
62
|
63
63
note: function defined here
64
64
--> $DIR/swapped_arguments.rs:4:4
@@ -74,11 +74,11 @@ error[E0308]: arguments to this function are incorrect
74
74
--> $DIR/swapped_arguments.rs:13:3
75
75
|
76
76
LL | four_args(1.0, 1, X {}, "");
77
- | ^^^^^^^^^ --- - ---- -- expected `X`,found `&'static str`
77
+ | ^^^^^^^^^ --- - ---- -- expected `X`, found `&'static str`
78
78
| | | |
79
- | | | expected `&str`,found `X`
80
- | | expected `f32`,found `{integer}`
81
- | expected `i32`,found `{float}`
79
+ | | | expected `&str`, found `X`
80
+ | | expected `f32`, found `{integer}`
81
+ | expected `i32`, found `{float}`
82
82
|
83
83
note: function defined here
84
84
--> $DIR/swapped_arguments.rs:5:4
0 commit comments