heapsize
heapsize copied to clipboard
Broken code
Running tests using rust-toolchain nightly-2019-03-15
all tests failed:
failures:
---- test_boxed_slice stdout ----
thread 'test_boxed_slice' panicked at 'assertion failed: `(left == right)`
left: `24`,
right: `16`', tests/tests.rs:185:5
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
---- test_heap_size stdout ----
thread 'test_heap_size' panicked at 'assertion failed: `(left == right)`
left: `24`,
right: `8`', tests/tests.rs:141:5
---- test_boxed_str stdout ----
thread 'test_boxed_str' panicked at 'assertion failed: `(left == right)`
left: `24`,
right: `8`', tests/tests.rs:113:5
failures:
test_boxed_slice
test_boxed_str
test_heap_size
Currently failing the same way on:
- 1.37.0
- 1.38.0
- 1.39.0-nightly (66bf391c3 2019-09-23)
But passes on
- 1.31.0