about summary refs log tree commit diff
path: root/src/test/ui/async-await/async-block-control-flow-static-semantics.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-07-31 21:40:21 +0000
committerbors <bors@rust-lang.org>2022-07-31 21:40:21 +0000
commit34805f36752fd81cabc5104579e065e62fc0fec6 (patch)
treec975eb618c87082bf5bcca000e122acb8b817836 /src/test/ui/async-await/async-block-control-flow-static-semantics.rs
parentf9cba63746d0fff816250b2ba7b706b5d4dcf000 (diff)
parent9139a63b25e53722d7225cf373e4d713e0d5596f (diff)
downloadrust-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 'src/test/ui/async-await/async-block-control-flow-static-semantics.rs')
0 files changed, 0 insertions, 0 deletions