Skip to content

Commit

Permalink
Move an EMIT_MIR comment.
Browse files Browse the repository at this point in the history
This belongs on a function, not a `use` declaration.
  • Loading branch information
nnethercote committed Jun 19, 2024
1 parent 9981d61 commit b5a5647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mir-opt/issue_76432.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
//@ compile-flags: -Zmir-enable-passes=-NormalizeArrayLen
// Check that we do not insert StorageDead at each target if StorageDead was never seen

// EMIT_MIR issue_76432.test.SimplifyComparisonIntegral.diff
use std::fmt::Debug;

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

0 comments on commit b5a5647

Please sign in to comment.