aboutsummaryrefslogtreecommitdiff
path: root/tests/ui-msrv/transmute-illegal.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-msrv/transmute-illegal.stderr')
-rw-r--r--tests/ui-msrv/transmute-illegal.stderr18
1 files changed, 0 insertions, 18 deletions
diff --git a/tests/ui-msrv/transmute-illegal.stderr b/tests/ui-msrv/transmute-illegal.stderr
deleted file mode 100644
index 37c124a..0000000
--- a/tests/ui-msrv/transmute-illegal.stderr
+++ /dev/null
@@ -1,18 +0,0 @@
-error[E0277]: the trait bound `*const usize: AsBytes` is not satisfied
- --> tests/ui-msrv/transmute-illegal.rs:10:30
- |
-10 | const POINTER_VALUE: usize = zerocopy::transmute!(&0usize as *const usize);
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `*const usize`
- |
- = help: the following implementations were found:
- <usize as AsBytes>
- <f32 as AsBytes>
- <f64 as AsBytes>
- <i128 as AsBytes>
- and $N others
-note: required by a bound in `POINTER_VALUE::transmute`
- --> tests/ui-msrv/transmute-illegal.rs:10:30
- |
-10 | const POINTER_VALUE: usize = zerocopy::transmute!(&0usize as *const usize);
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `POINTER_VALUE::transmute`
- = note: this error originates in the macro `zerocopy::transmute` (in Nightly builds, run with -Z macro-backtrace for more info)