1 error[E0308]: mismatched types
2 --> $DIR/suggest-ref-macro.rs:8:1
7 | expected `&mut i32`, found integer
8 | arguments to this function are incorrect
10 note: function defined here
11 --> $DIR/suggest-ref-macro.rs:8:1
15 = note: this error originates in the attribute macro `hello` (in Nightly builds, run with -Z macro-backtrace for more info)
17 error[E0308]: mismatched types
18 --> $DIR/suggest-ref-macro.rs:15:11
23 | | expected `&mut i32`, found integer
24 | | help: consider mutably borrowing here: `&mut 123`
25 | arguments to this function are incorrect
28 | ------ in this macro invocation
30 note: function defined here
31 --> $DIR/suggest-ref-macro.rs:11:4
33 LL | fn x(_: &mut i32) {}
35 = note: this error originates in the macro `bla` (in Nightly builds, run with -Z macro-backtrace for more info)
37 error[E0308]: mismatched types
38 --> $DIR/suggest-ref-macro.rs:26:10
41 | - arguments to this function are incorrect
46 | expected `&mut i32`, found integer
47 | help: consider mutably borrowing here: `&mut 456`
49 note: function defined here
50 --> $DIR/suggest-ref-macro.rs:11:4
52 LL | fn x(_: &mut i32) {}
55 error: aborting due to 3 previous errors
57 For more information about this error, try `rustc --explain E0308`.