diff options
| author | bors <bors@rust-lang.org> | 2022-07-31 21:40:21 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-07-31 21:40:21 +0000 |
| commit | 34805f36752fd81cabc5104579e065e62fc0fec6 (patch) | |
| tree | c975eb618c87082bf5bcca000e122acb8b817836 /compiler/rustc_save_analysis/src | |
| parent | f9cba63746d0fff816250b2ba7b706b5d4dcf000 (diff) | |
| parent | 9139a63b25e53722d7225cf373e4d713e0d5596f (diff) | |
| download | rust-34805f36752fd81cabc5104579e065e62fc0fec6.tar.gz rust-34805f36752fd81cabc5104579e065e62fc0fec6.zip | |
Auto merge of #99052 - tmiasko:bitset-clone-from, r=Mark-Simulacrum
Fix cloning from a BitSet with a different domain size The previous implementation incorrectly assumed that the number of words in a bit set is equal to the domain size. The new implementation delegates to `Vec::clone_from` which is specialized for `Copy` elements. Fixes #99006.
Diffstat (limited to 'compiler/rustc_save_analysis/src')
0 files changed, 0 insertions, 0 deletions
