diff --git a/tests/expand/enum_derive/example-1.expanded.rs b/tests/expand/enum_derive/example-1.expanded.rs index 7f68177..f616900 100644 --- a/tests/expand/enum_derive/example-1.expanded.rs +++ b/tests/expand/enum_derive/example-1.expanded.rs @@ -130,11 +130,6 @@ fn foo(x: i32) -> impl Iterator { } match x { 0 => __Enum1::__T1(1..10), - _ => { - __Enum1::__T2( - <[_]>::into_vec(#[rustc_box] ::alloc::boxed::Box::new([5, 10])) - .into_iter(), - ) - } + _ => __Enum1::__T2(<[_]>::into_vec(::alloc::boxed::box_new([5, 10])).into_iter()), } }