about summary refs log tree commit diff
path: root/tests/mir-opt/building/issue_49232.main.built.after.mir
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2022-10-15 09:00:32 +0000
committerCamille GILLOT <gillot.camille@gmail.com>2023-10-24 15:30:17 +0000
commitec28dc7aa7668b7646de369467386903ac69bafe (patch)
tree37a8ea3593ed6985e0ad38612c74e81d82c4d0f5 /tests/mir-opt/building/issue_49232.main.built.after.mir
parent642bfb254a851d0deca01d6e2f4db13b60536210 (diff)
downloadrust-ec28dc7aa7668b7646de369467386903ac69bafe.tar.gz
rust-ec28dc7aa7668b7646de369467386903ac69bafe.zip
Use `PlaceMention` for match scrutinees.
Diffstat (limited to 'tests/mir-opt/building/issue_49232.main.built.after.mir')
-rw-r--r--tests/mir-opt/building/issue_49232.main.built.after.mir2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/building/issue_49232.main.built.after.mir b/tests/mir-opt/building/issue_49232.main.built.after.mir
index f809132bc63..ac50b388910 100644
--- a/tests/mir-opt/building/issue_49232.main.built.after.mir
+++ b/tests/mir-opt/building/issue_49232.main.built.after.mir
@@ -24,7 +24,7 @@ fn main() -> () {
         StorageLive(_2);
         StorageLive(_3);
         _3 = const true;
-        FakeRead(ForMatchedPlace(None), _3);
+        PlaceMention(_3);
         switchInt(_3) -> [0: bb3, otherwise: bb4];
     }