1error[E0308]: mismatched types
2  --> tests/ui-msrv/transmute-mut-dst-not-a-reference.rs:17:36
3   |
417 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8);
5   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&mut _`
6   |
7   = note:           expected type `usize`
8           found mutable reference `&mut _`
9   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
10
11error[E0308]: mismatched types
12  --> tests/ui-msrv/transmute-mut-dst-not-a-reference.rs:17:36
13   |
1417 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8);
15   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&mut _`
16   |
17   = note:           expected type `usize`
18           found mutable reference `&mut _`
19   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
20
21error[E0308]: mismatched types
22  --> tests/ui-msrv/transmute-mut-dst-not-a-reference.rs:17:36
23   |
2417 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8);
25   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&mut _`
26   |
27   = note:           expected type `usize`
28           found mutable reference `&mut _`
29   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
30
31error[E0308]: mismatched types
32  --> tests/ui-msrv/transmute-mut-dst-not-a-reference.rs:17:36
33   |
3417 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8);
35   |                                    ^^^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&mut _`
36   |
37   = note:           expected type `usize`
38           found mutable reference `&mut _`
39   = note: this error originates in the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
40