about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-05-24 01:30:23 +0200
committerGitHub <noreply@github.com>2019-05-24 01:30:23 +0200
commitee972100b2b2a504057e6b6c37e44633f5bbcc73 (patch)
tree41a604306ed684a1182090ab3f71f66b2f14cb81 /src/test/ui/thinlto
parent26f3528434cad89e5bd9fdb4b35ac260c472b740 (diff)
parentf44b264447f0d1b42676e7ea99a04d140749f65b (diff)
downloadrust-ee972100b2b2a504057e6b6c37e44633f5bbcc73.tar.gz
rust-ee972100b2b2a504057e6b6c37e44633f5bbcc73.zip
Rollup merge of #61082 - RalfJung:vec, r=alexcrichton
fix dangling reference in Vec::append

Turns out I forgot to enable Miri again for the Vec tests. And there was a dangling reference hiding in there!  `get_unchecked_mut` is UB to call on an empty vector (there is no memory to get a reference to), and yet this code did it.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions