Sha256: e8a126f4832344b8a69591fcc25e22bbbb29f2078b809a47f8afa40ac1087a1f

Contents?: true

Size: 1.32 KB

Versions: 24

Compression:

Stored size: 1.32 KB

Contents

error[E0308]: mismatched types
  --> tests/ui-stable/transmute-ref-dst-not-a-reference.rs:17:36
   |
17 | const DST_NOT_A_REFERENCE: usize = transmute_ref!(&0u8);
   |                                    ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&_`
   |
   = note:   expected type `usize`
           found reference `&_`
   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> tests/ui-stable/transmute-ref-dst-not-a-reference.rs:17:36
   |
17 | const DST_NOT_A_REFERENCE: usize = transmute_ref!(&0u8);
   |                                    ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&_`
   |
   = note:   expected type `usize`
           found reference `&_`
   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0308]: mismatched types
  --> tests/ui-stable/transmute-ref-dst-not-a-reference.rs:17:36
   |
17 | const DST_NOT_A_REFERENCE: usize = transmute_ref!(&0u8);
   |                                    ^^^^^^^^^^^^^^^^^^^^ expected `usize`, found `&_`
   |
   = note:   expected type `usize`
           found reference `&_`
   = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
wasmtime-14.0.4 ./ext/cargo-vendor/zerocopy-0.7.15/tests/ui-stable/transmute-ref-dst-not-a-reference.stderr
wasmtime-14.0.3 ./ext/cargo-vendor/zerocopy-0.7.15/tests/ui-stable/transmute-ref-dst-not-a-reference.stderr
wasmtime-14.0.1 ./ext/cargo-vendor/zerocopy-0.7.15/tests/ui-stable/transmute-ref-dst-not-a-reference.stderr
wasmtime-14.0.0 ./ext/cargo-vendor/zerocopy-0.7.15/tests/ui-stable/transmute-ref-dst-not-a-reference.stderr