1
0
Fork 0
firefox/third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

10 lines
340 B
Text

error[E0405]: cannot find trait `FromBytes` in this scope
--> tests/ui-stable/transmute-mut-src-generic.rs:15:31
|
15 | fn transmute_mut<T: AsBytes + FromBytes>(t: &mut T) -> &mut u8 {
| ^^^^^^^^^ not found in this scope
|
help: consider importing this trait
|
11 + use zerocopy::FromBytes;
|