blob: b11951242ac883bce0d1e59cfaf2cc53755d49cd [file] [log] [blame]
error[E0277]: the trait bound `Dst: NoCell` is not satisfied
--> tests/ui-nightly/transmute-ref-dst-not-nocell.rs:22:31
|
22 | const DST_NOT_NO_CELL: &Dst = transmute_ref!(&AU16(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^
| |
| the trait `NoCell` is not implemented for `Dst`
| required by a bound introduced by this call
|
= help: the following other types implement trait `NoCell`:
bool
char
isize
i8
i16
i32
i64
i128
and $N others
note: required by a bound in `AssertDstIsNoCell`
--> tests/ui-nightly/transmute-ref-dst-not-nocell.rs:22:31
|
22 | const DST_NOT_NO_CELL: &Dst = transmute_ref!(&AU16(0));
| ^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertDstIsNoCell`
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)