mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-18 20:02:54 +00:00
11 lines
341 B
Plaintext
11 lines
341 B
Plaintext
error[E0405]: cannot find trait `FromBytes` in this scope
|
|
--> tests/ui-nightly/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;
|
|
|
|