fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
393 B15 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-29084.rs:4:13
3   |
4LL |         bar(&mut $d);
5   |             ^^^^^^^ expected u8, found &mut u8
6...
7LL |     foo!(0u8);
8   |     ---------- in this macro invocation
9   |
10   = note: expected type `u8`
11              found type `&mut u8`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0308`.