rustc 1.44.0-nightly (77621317d 2020-03-28)
binary: rustc
commit-hash: 77621317d643cc5d13da60b26ab68b057668e688
commit-date: 2020-03-28
host: x86_64-unknown-linux-gnu
release: 1.44.0-nightly
LLVM version: 9.0
Note that the error is also present on stable (1.42.0).
error: internal compiler error: src/librustc_mir_build/hair/pattern/_match.rs:318: cannot deref ByRef {
alloc: Allocation {
bytes: [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
],
relocations: Relocations(
SortedMap {
data: [
(
Size {
raw: 0,
},
(
(),
alloc2,
),
),
(
Size {
raw: 8,
},
(
(),
alloc4,
),
),
],
},
),
undef_mask: UndefMask {
blocks: [
65535,
],
len: Size {
raw: 16,
},
},
size: Size {
raw: 16,
},
align: Align {
pow2: 3,
},
mutability: Not,
extra: (),
},
offset: Size {
raw: 0,
},
}, dyn T -> dyn T
thread 'rustc' panicked at 'Box<Any>', src/librustc_errors/lib.rs:880:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Code
Meta
rustc --version --verbose:Note that the error is also present on stable (1.42.0).
Error output
Backtrace