Sign in
android
/
toolchain
/
rustc
/
cd1aefd586783f162dd848e314bd6991a5ffe033
/
.
/
tests
/
codegen
/
issues
/
issue-103840.rs
blob: da64692d27d92fd46f65df77de5253361e3f54c6 [
file
] [
log
] [
blame
]
// compile-flags: -O
// min-llvm-version: 16.0
#![
crate_type
=
"lib"
]
pub
fn
foo
(
t
:
&
mut
Vec
<
usize
>)
{
// CHECK-NOT: __rust_dealloc
let
mut
taken
=
std
::
mem
::
take
(
t
);
taken
.
pop
();
*
t
=
taken
;
}