We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ac11ca commit d0a272bCopy full SHA for d0a272b
src/test/ui/mismatched_types/issue-26480.stderr
@@ -3,14 +3,18 @@ error[E0308]: mismatched types
3
|
4
26 | $arr.len() * size_of($arr[0]));
5
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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)
+...
7
+38 | write!(hello);
8
+ | -------------- in this macro invocation
9
10
error: non-scalar cast: `{integer}` as `()`
11
--> $DIR/issue-26480.rs:32:19
12
13
32 | ($x:expr) => ($x as ())
14
| ^^^^^^^^
-$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
18
19
error: aborting due to 2 previous errors
20
0 commit comments