diff options
Diffstat (limited to 'third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr')
-rw-r--r-- | third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr b/third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr new file mode 100644 index 0000000000..fc4809e418 --- /dev/null +++ b/third_party/rust/zerocopy/tests/ui-stable/transmute-mut-src-generic.stderr @@ -0,0 +1,10 @@ +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; + | |