From b5a5647ee0f8af226fcc44a3e6b054fc758a785e Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 20 Jun 2024 06:05:27 +1000 Subject: [PATCH] Move an `EMIT_MIR` comment. This belongs on a function, not a `use` declaration. --- tests/mir-opt/issue_76432.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/mir-opt/issue_76432.rs b/tests/mir-opt/issue_76432.rs index be5ccbd49e24f..0daeb85434f55 100644 --- a/tests/mir-opt/issue_76432.rs +++ b/tests/mir-opt/issue_76432.rs @@ -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(x: T) { let v: &[T] = &[x, x, x]; match v {