about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorThe 8472 <git@infinite-source.de>2025-01-04 19:26:58 +0100
committerJosh Stone <jistone@redhat.com>2025-01-16 17:50:04 -0800
commit8a7dc215b02e6b4c2dd890e750dceadeaf077f7d (patch)
treea0ed7d5d377d1702d75964a651cfdd41e7fe4d0d /compiler/rustc_codegen_llvm/src/errors.rs
parentfe9b9751fa54a5871b87cd36a582f9b7b06123fd (diff)
downloadrust-8a7dc215b02e6b4c2dd890e750dceadeaf077f7d.tar.gz
rust-8a7dc215b02e6b4c2dd890e750dceadeaf077f7d.zip
do not in-place-iterate over flatmap/flatten
The implementation is unsound when a partially consumed iterator has
some elements buffered in the front/back parts and cloning the Iterator
removes the capacity from the backing vec::IntoIter.

(cherry picked from commit 3d871b3ced0af12a84e3d17060399ca1af8d7bc1)
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions