about summary refs log tree commit diff
path: root/tests/mir-opt/building/custom
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-06-03 09:11:58 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-06-07 08:33:58 +0000
commitcbee17d5025c7824828c793ac776ad6e1addbeac (patch)
tree8fbe94d41a18eeadefbb9434bac9b0d0e0ec9444 /tests/mir-opt/building/custom
parent92c54db22f3ee0ef13be629b55607c23ed305f3b (diff)
downloadrust-cbee17d5025c7824828c793ac776ad6e1addbeac.tar.gz
rust-cbee17d5025c7824828c793ac776ad6e1addbeac.zip
Revert "Create const block DefIds in typeck instead of ast lowering"
This reverts commit ddc5f9b6c1f21da5d4596bf7980185a00984ac42.
Diffstat (limited to 'tests/mir-opt/building/custom')
-rw-r--r--tests/mir-opt/building/custom/consts.consts.built.after.mir2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mir-opt/building/custom/consts.consts.built.after.mir b/tests/mir-opt/building/custom/consts.consts.built.after.mir
index 7b6964849d4..a011fadcef1 100644
--- a/tests/mir-opt/building/custom/consts.consts.built.after.mir
+++ b/tests/mir-opt/building/custom/consts.consts.built.after.mir
@@ -10,7 +10,7 @@ fn consts() -> () {
 
     bb0: {
         _1 = const 5_u8;
-        _2 = const consts::<C>::{constant#1};
+        _2 = const consts::<C>::{constant#0};
         _3 = const C;
         _4 = const D;
         _5 = consts::<10>;