about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow/src/impls
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2021-09-06 18:33:23 +0100
committerGary Guo <gary@garyguo.net>2021-09-25 01:08:41 +0100
commitc38da2e0a322908ba4b1d4b7e59c5da0531af4e1 (patch)
treecd26f185c4302d0389f8703ea0d2b76cfa1ac4ba /compiler/rustc_mir_dataflow/src/impls
parent308dffd25cb55bbb4a1fbee9822cf82c6a5d012d (diff)
Introduce `Rvalue::ShallowInitBox`
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/impls')
-rw-r--r--compiler/rustc_mir_dataflow/src/impls/borrowed_locals.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_mir_dataflow/src/impls/borrowed_locals.rs b/compiler/rustc_mir_dataflow/src/impls/borrowed_locals.rs
index 81d84f80ad4..158ba1b9425 100644
--- a/compiler/rustc_mir_dataflow/src/impls/borrowed_locals.rs
+++ b/compiler/rustc_mir_dataflow/src/impls/borrowed_locals.rs
@@ -169,6 +169,7 @@ where
             }
 
             mir::Rvalue::Cast(..)
+            | mir::Rvalue::ShallowInitBox(..)
             | mir::Rvalue::Use(..)
             | mir::Rvalue::ThreadLocalRef(..)
             | mir::Rvalue::Repeat(..)