Vendor things
This commit is contained in:
parent
5deceec006
commit
977e3c17e5
19434 changed files with 10682014 additions and 0 deletions
170
third-party/vendor/zerocopy/tests/ui-msrv/transmute-ref-src-unsized.stderr
vendored
Normal file
170
third-party/vendor/zerocopy/tests/ui-msrv/transmute-ref-src-unsized.stderr
vendored
Normal file
|
|
@ -0,0 +1,170 @@
|
|||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `AssertIsAsBytes`
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsAsBytes`
|
||||
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `AssertIsAsBytes`
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsAsBytes`
|
||||
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
= note: all local variables must have a statically known size
|
||||
= help: unsized locals are gated as an unstable feature
|
||||
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `transmute`
|
||||
--> $RUST/core/src/intrinsics.rs
|
||||
|
|
||||
| pub fn transmute<T, U>(e: T) -> U;
|
||||
| ^ required by this bound in `transmute`
|
||||
= note: this error originates in the macro `$crate::assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `AlignOf::<T>::into_t`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| impl<T> AlignOf<T> {
|
||||
| ^ required by this bound in `AlignOf::<T>::into_t`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
= note: the left-hand-side of an assignment must have a statically known size
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `AlignOf`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| pub struct AlignOf<T> {
|
||||
| ^ required by this bound in `AlignOf`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `MaxAlignsOf::<T, U>::new`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| impl<T, U> MaxAlignsOf<T, U> {
|
||||
| ^ required by this bound in `MaxAlignsOf::<T, U>::new`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `MaxAlignsOf`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| pub union MaxAlignsOf<T, U> {
|
||||
| ^ required by this bound in `MaxAlignsOf`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `MaxAlignsOf`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| pub union MaxAlignsOf<T, U> {
|
||||
| ^ required by this bound in `MaxAlignsOf`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `AlignOf`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| pub struct AlignOf<T> {
|
||||
| ^ required by this bound in `AlignOf`
|
||||
= note: this error originates in the macro `$crate::assert_align_gt_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
note: required by a bound in `transmute_ref`
|
||||
--> src/macro_util.rs
|
||||
|
|
||||
| pub const unsafe fn transmute_ref<'dst, 'src: 'dst, Src: 'src, Dst: 'dst>(
|
||||
| ^^^ required by this bound in `transmute_ref`
|
||||
= note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
|
||||
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time
|
||||
--> tests/ui-msrv/transmute-ref-src-unsized.rs:16:31
|
||||
|
|
||||
16 | const SRC_UNSIZED: &[u8; 1] = transmute_ref!(&[0u8][..]);
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time
|
||||
|
|
||||
= help: the trait `Sized` is not implemented for `[u8]`
|
||||
= note: all function arguments must have a statically known size
|
||||
= note: this error originates in the macro `$crate::assert_size_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
|
||||
Loading…
Add table
Add a link
Reference in a new issue