]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #95917 - RalfJung:thin-box-test, r=dtolnay
authorMatthias Krüger <matthias.krueger@famsik.de>
Mon, 11 Apr 2022 10:06:58 +0000 (12:06 +0200)
committerGitHub <noreply@github.com>
Mon, 11 Apr 2022 10:06:58 +0000 (12:06 +0200)
commit5b8e2ea520b31edaebdce12c680819e516679229
tree0aba04ef49c23de0d3c864805cdd84b8c6e6416e
parent053f70332f08333bfe29d3467cd83c9cdefcfe05
parentdbc0afa215a9b5de875d2d88d3b03e855e8d2681
Rollup merge of #95917 - RalfJung:thin-box-test, r=dtolnay

thin_box test: import from std, not alloc

Importing from `alloc` makes [Miri fail](https://github.com/rust-lang/miri-test-libstd/runs/5964922742?check_suite_focus=true), probably due to the hack that we used to resolve https://github.com/rust-lang/miri-test-libstd/issues/4. There might be better ways around this, but for now this is the easiest thing to do -- no other alloc integration test is importing from `alloc::`.