summaryrefslogtreecommitdiffstats
path: root/third_party/rust/zerocopy/tests/ui-nightly/transmute-mut-src-generic.stderr
blob: c06d7750726e883e2a1f20f0ef5e2e8c417452d2 (plain)
1
2
3
4
5
6
7
8
9
10
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;
   |