Skip to content

Commit d0a272b

Browse files
author
Jonathan Turner
committed
Fix merge conflict
1 parent 7ac11ca commit d0a272b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/ui/mismatched_types/issue-26480.stderr

+6-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,18 @@ error[E0308]: mismatched types
33
|
44
26 | $arr.len() * size_of($arr[0]));
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize
6-
$DIR/issue-26480.rs:37:5: 37:19 note: in this expansion of write! (defined in $DIR/issue-26480.rs)
6+
...
7+
38 | write!(hello);
8+
| -------------- in this macro invocation
79

810
error: non-scalar cast: `{integer}` as `()`
911
--> $DIR/issue-26480.rs:32:19
1012
|
1113
32 | ($x:expr) => ($x as ())
1214
| ^^^^^^^^
13-
$DIR/issue-26480.rs:38:5: 38:14 note: in this expansion of cast! (defined in $DIR/issue-26480.rs)
15+
...
16+
39 | cast!(2);
17+
| --------- in this macro invocation
1418

1519
error: aborting due to 2 previous errors
1620

0 commit comments

Comments
 (0)