We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3743ae commit 3e90c1bCopy full SHA for 3e90c1b
tests/mir-opt/const_prop/scalar_literal_propagation.rs
@@ -1,8 +1,10 @@
1
-// skip-filecheck
2
// unit-test: ConstProp
3
// EMIT_MIR_FOR_EACH_PANIC_STRATEGY
+
4
// EMIT_MIR scalar_literal_propagation.main.ConstProp.diff
5
fn main() {
6
+ // CHECK-LABEL: fn main(
7
+ // CHECK: = consume(const 1_u32)
8
let x = 1;
9
consume(x);
10
}
0 commit comments