about summary refs log tree commit diff
path: root/src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff
diff options
context:
space:
mode:
authorJannis Christopher Köhl <mail@koehl.dev>2022-10-19 15:56:58 +0200
committerJannis Christopher Köhl <mail@koehl.dev>2022-11-07 10:35:23 +0100
commit274a49132b7728fa7254fa4b5bd0575bdffa8b56 (patch)
tree7e1728e8add8640519097978cd75413c354f8af7 /src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff
parent931d99f61f93e244a60fb0a65198382ef9d66a75 (diff)
downloadrust-274a49132b7728fa7254fa4b5bd0575bdffa8b56.tar.gz
rust-274a49132b7728fa7254fa4b5bd0575bdffa8b56.zip
Improve documentation, plus some small changes
Diffstat (limited to 'src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff')
-rw-r--r--src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff b/src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff
index fbc95cea7cd..944afed8f46 100644
--- a/src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff
+++ b/src/test/mir-opt/dataflow-const-prop/checked.main.DataflowConstProp.diff
@@ -53,8 +53,7 @@
           StorageDead(_5);                 // scope 2 at $DIR/checked.rs:+3:17: +3:18
           StorageDead(_4);                 // scope 2 at $DIR/checked.rs:+3:17: +3:18
           StorageLive(_7);                 // scope 3 at $DIR/checked.rs:+5:9: +5:10
--         _7 = const _;                    // scope 3 at $DIR/checked.rs:+5:13: +5:21
-+         _7 = const i32::MAX;             // scope 3 at $DIR/checked.rs:+5:13: +5:21
+          _7 = const _;                    // scope 3 at $DIR/checked.rs:+5:13: +5:21
           StorageLive(_8);                 // scope 4 at $DIR/checked.rs:+6:9: +6:10
           StorageLive(_9);                 // scope 4 at $DIR/checked.rs:+6:13: +6:14
 -         _9 = _7;                         // scope 4 at $DIR/checked.rs:+6:13: +6:14