diff options
| author | Gary Guo <gary@garyguo.net> | 2021-09-07 16:06:07 +0100 |
|---|---|---|
| committer | Gary Guo <gary@garyguo.net> | 2021-09-13 00:08:35 +0100 |
| commit | 1c3409f333eb059aeb89a78a01a3a48dc8a52680 (patch) | |
| tree | 97a8f81da8c671c8018372133f5c6fc9575c5ab9 /compiler/rustc_mir_dataflow/src | |
| parent | b69fe57261086e70aea9d5b58819a1794bf7c121 (diff) | |
| download | rust-1c3409f333eb059aeb89a78a01a3a48dc8a52680.tar.gz rust-1c3409f333eb059aeb89a78a01a3a48dc8a52680.zip | |
Introduce NullOp::AlignOf
Diffstat (limited to 'compiler/rustc_mir_dataflow/src')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/move_paths/builder.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/move_paths/builder.rs b/compiler/rustc_mir_dataflow/src/move_paths/builder.rs index cea465ea1ed..407ba739463 100644 --- a/compiler/rustc_mir_dataflow/src/move_paths/builder.rs +++ b/compiler/rustc_mir_dataflow/src/move_paths/builder.rs @@ -342,7 +342,7 @@ impl<'b, 'a, 'tcx> Gatherer<'b, 'a, 'tcx> { | Rvalue::AddressOf(..) | Rvalue::Discriminant(..) | Rvalue::Len(..) - | Rvalue::NullaryOp(NullOp::SizeOf, _) + | Rvalue::NullaryOp(NullOp::SizeOf | NullOp::AlignOf, _) | Rvalue::NullaryOp(NullOp::Box, _) => { // This returns an rvalue with uninitialized contents. We can't // move out of it here because it is an rvalue - assignments always |
