diff options
| author | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 01:17:31 -0500 |
|---|---|---|
| committer | Erik Desjardins <erikdesjardins@users.noreply.github.com> | 2022-02-19 01:29:17 -0500 |
| commit | d5769e9843dede495551a781cf947b631984868f (patch) | |
| tree | 1e4350cf2cb0007243b391861c7a5efa33a509f0 /compiler/rustc_middle/src/mir | |
| parent | b7e5597491a7880934f927edb506605d3368794e (diff) | |
| download | rust-d5769e9843dede495551a781cf947b631984868f.tar.gz rust-d5769e9843dede495551a781cf947b631984868f.zip | |
switch to limiting the number of init/uninit chunks
Diffstat (limited to 'compiler/rustc_middle/src/mir')
| -rw-r--r-- | compiler/rustc_middle/src/mir/interpret/allocation.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/allocation.rs b/compiler/rustc_middle/src/mir/interpret/allocation.rs index a36c9b6ed73..5de119f9562 100644 --- a/compiler/rustc_middle/src/mir/interpret/allocation.rs +++ b/compiler/rustc_middle/src/mir/interpret/allocation.rs @@ -957,6 +957,7 @@ impl InitMask { } /// Yields [`InitChunk`]s. See [`InitMask::range_as_init_chunks`]. +#[derive(Clone)] pub struct InitChunkIter<'a> { init_mask: &'a InitMask, /// Whether the next chunk we will return is initialized. |
