Skip to content

Commit b56c78f

Browse files
committed
Adjust test as contracts mean we no longer always get a constant
1 parent 76da10e commit b56c78f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mir-opt/dataflow-const-prop/default_boxed_slice.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ fn main() {
2020
// CHECK: debug a => [[a:_.*]];
2121
// We may check other inlined functions as well...
2222

23-
// CHECK: {{_.*}} = const Box::<[bool]>(
23+
// CHECK: {{_.*}} = {{(const )?}}Box::<[bool]>(
2424
let a: A = A { foo: Box::default() };
2525
}

0 commit comments

Comments
 (0)