Skip to content

Commit b5a5647

Browse files
committed
Move an EMIT_MIR comment.
This belongs on a function, not a `use` declaration.
1 parent 9981d61 commit b5a5647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/mir-opt/issue_76432.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
//@ compile-flags: -Zmir-enable-passes=-NormalizeArrayLen
44
// Check that we do not insert StorageDead at each target if StorageDead was never seen
55

6-
// EMIT_MIR issue_76432.test.SimplifyComparisonIntegral.diff
76
use std::fmt::Debug;
87

8+
// EMIT_MIR issue_76432.test.SimplifyComparisonIntegral.diff
99
fn test<T: Copy + Debug + PartialEq>(x: T) {
1010
let v: &[T] = &[x, x, x];
1111
match v {

0 commit comments

Comments
 (0)