1 error[E0308]: mismatched types
2 --> $DIR/issue-29084.rs:4:13
5 | --- ^^^^^^^ expected `u8`, found `&mut u8`
7 | arguments to this function are incorrect
10 | --------- in this macro invocation
12 note: function defined here
13 --> $DIR/issue-29084.rs:3:12
15 LL | fn bar(d: u8) { }
19 | --------- in this macro invocation
20 = note: this error originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info)
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0308`.