mirror of
https://github.com/rust-lang/rust
synced 2024-09-30 13:54:31 +00:00
Move an EMIT_MIR
comment.
This belongs on a function, not a `use` declaration.
This commit is contained in:
parent
9981d61cdb
commit
b5a5647ee0
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue