Sha256: f7b51be513a0603070e218bdd1ca2c47a94c58151ab5649f68877ea3d83268f4

Contents?: true

Size: 652 Bytes

Versions: 11

Compression:

Stored size: 652 Bytes

Contents

error[E0308]: mismatched types
  --> tests/ui-nightly/transmute-ref-src-not-a-reference.rs:17:49
   |
17 | const SRC_NOT_A_REFERENCE: &u8 = transmute_ref!(0usize);
   |                                  ---------------^^^^^^-
   |                                  |              |
   |                                  |              expected `&_`, found `usize`
   |                                  expected due to this
   |
   = note: expected reference `&_`
                   found type `usize`
help: consider borrowing here
   |
17 | const SRC_NOT_A_REFERENCE: &u8 = transmute_ref!(&0usize);
   |                                                 +

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
wasmtime-23.0.2 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-22.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-21.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-20.0.2 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-20.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-18.0.3 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-17.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-17.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-16.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-15.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr
wasmtime-15.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-ref-src-not-a-reference.stderr