1error[E0308]: mismatched types
2  --> tests/ui-msrv/transmute-ref-src-dst-not-references.rs:17:54
3   |
417 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
5   |                                       ---------------^^^^^^-
6   |                                       |              |
7   |                                       |              expected reference, found `usize`
8   |                                       |              help: consider borrowing here: `&0usize`
9   |                                       expected due to this
10   |
11   = note: expected reference `&_`
12                   found type `usize`
13
14error[E0308]: mismatched types
15  --> tests/ui-msrv/transmute-ref-src-dst-not-references.rs:17:39
16   |
1717 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
18   |                                       ^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found reference
19   |
20   = note:   expected type `usize`
21           found reference `&_`
22   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
23
24error[E0308]: mismatched types
25  --> tests/ui-msrv/transmute-ref-src-dst-not-references.rs:17:39
26   |
2717 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
28   |                                       ^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found reference
29   |
30   = note:   expected type `usize`
31           found reference `&_`
32   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
33
34error[E0308]: mismatched types
35  --> tests/ui-msrv/transmute-ref-src-dst-not-references.rs:17:39
36   |
3717 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
38   |                                       ^^^^^^^^^^^^^^^^^^^^^^ expected `usize`, found reference
39   |
40   = note:   expected type `usize`
41           found reference `&_`
42   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
43