You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thread 'rustc' panicked at 'index out of bounds: the len is 1 but the index is 1', /rustc/fdc0011561c6365c596dfd8fa1ef388162bc89c7/src/libcore/slice/mod.rs:2797:10
stack backtrace:
<snip>
14: core::panicking::panic_bounds_check
at src/libcore/panicking.rs:60
15: rustc_mir::borrow_check::nll::type_check::type_check
16: rustc_mir::borrow_check::nll::compute_regions
17: rustc_mir::borrow_check::do_mir_borrowck
<snip>
Playground: https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=e37f6d10c9fa79a691d84a3042c3fcb6
AFAIU, there is out-of-bounds-panic connected with
good_transmute
fn. Probably, compiler fails onbuf
array, because it's length is size_of() generic type.The text was updated successfully, but these errors were encountered: