1 error[E0308]: mismatched types
2 --> $DIR/issue-26480.rs:27:19
4 27 | $arr.len() * size_of($arr[0]));
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u64, found usize
6 $DIR/issue-26480.rs:38:5: 38:19 note: in this expansion of write! (defined in $DIR/issue-26480.rs)
8 error: non-scalar cast: `_` as `()`
9 --> $DIR/issue-26480.rs:33:19
11 33 | ($x:expr) => ($x as ())
13 $DIR/issue-26480.rs:39:5: 39:14 note: in this expansion of cast! (defined in $DIR/issue-26480.rs)
15 error: aborting due to 2 previous errors