Sha256: b0379252732ca51314077fa20d3fb4bfcbee61f486229547c807ed0d7dede9c8

Contents?: true

Size: 565 Bytes

Versions: 20

Compression:

Stored size: 565 Bytes

Contents

error[E0597]: `x` does not live long enough
  --> tests/ui-nightly/transmute-mut-illegal-lifetime.rs:14:56
   |
12 |     let mut x = 0u64;
   |         ----- binding `x` declared here
13 |     // It is illegal to increase the lifetime scope.
14 |     let _: &'static mut u64 = zerocopy::transmute_mut!(&mut x);
   |            ----------------                            ^^^^^^ borrowed value does not live long enough
   |            |
   |            type annotation requires that `x` is borrowed for `'static`
15 | }
   | - `x` dropped here while still borrowed

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
wasmtime-30.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-29.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-28.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-27.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-26.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-25.0.2 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-25.0.1 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-25.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-24.0.0 ./ext/cargo-vendor/zerocopy-0.7.35/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-23.0.2 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-22.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-21.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-20.0.2 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-20.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-18.0.3 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-17.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-17.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-16.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-15.0.1 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr
wasmtime-15.0.0 ./ext/cargo-vendor/zerocopy-0.7.32/tests/ui-nightly/transmute-mut-illegal-lifetime.stderr