@@ -25,8 +25,8 @@ fn arbitrary_consuming_method_for_demonstration_purposes() {
25
25
26
26
27
27
{
28
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem as usize\nWith captures:\n elem = ",
29
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
28
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem as usize\nWith captures:\n elem = {0:?}\n ",
29
+ __capture0))
30
30
}
31
31
}
32
32
};
@@ -41,8 +41,8 @@ fn addr_of() {
41
41
if ::core::intrinsics::unlikely(!&*__local_bind0) {
42
42
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
43
43
{
44
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: &elem\nWith captures:\n elem = ",
45
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
44
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: &elem\nWith captures:\n elem = {0:?}\n ",
45
+ __capture0))
46
46
}
47
47
}
48
48
};
@@ -57,8 +57,8 @@ fn binary() {
57
57
if ::core::intrinsics::unlikely(!(*__local_bind0 == 1)) {
58
58
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
59
59
{
60
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem == 1\nWith captures:\n elem = ",
61
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
60
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem == 1\nWith captures:\n elem = {0:?}\n ",
61
+ __capture0))
62
62
}
63
63
}
64
64
};
@@ -70,8 +70,8 @@ fn binary() {
70
70
if ::core::intrinsics::unlikely(!(*__local_bind0 >= 1)) {
71
71
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
72
72
{
73
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem >= 1\nWith captures:\n elem = ",
74
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
73
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem >= 1\nWith captures:\n elem = {0:?}\n ",
74
+ __capture0))
75
75
}
76
76
}
77
77
};
@@ -83,8 +83,8 @@ fn binary() {
83
83
if ::core::intrinsics::unlikely(!(*__local_bind0 > 0)) {
84
84
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
85
85
{
86
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem > 0\nWith captures:\n elem = ",
87
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
86
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem > 0\nWith captures:\n elem = {0:?}\n ",
87
+ __capture0))
88
88
}
89
89
}
90
90
};
@@ -96,8 +96,8 @@ fn binary() {
96
96
if ::core::intrinsics::unlikely(!(*__local_bind0 < 3)) {
97
97
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
98
98
{
99
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem < 3\nWith captures:\n elem = ",
100
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
99
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem < 3\nWith captures:\n elem = {0:?}\n ",
100
+ __capture0))
101
101
}
102
102
}
103
103
};
@@ -109,8 +109,8 @@ fn binary() {
109
109
if ::core::intrinsics::unlikely(!(*__local_bind0 <= 3)) {
110
110
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
111
111
{
112
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem <= 3\nWith captures:\n elem = ",
113
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
112
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem <= 3\nWith captures:\n elem = {0:?}\n ",
113
+ __capture0))
114
114
}
115
115
}
116
116
};
@@ -122,8 +122,8 @@ fn binary() {
122
122
if ::core::intrinsics::unlikely(!(*__local_bind0 != 3)) {
123
123
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
124
124
{
125
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: elem != 3\nWith captures:\n elem = ",
126
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
125
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: elem != 3\nWith captures:\n elem = {0:?}\n ",
126
+ __capture0))
127
127
}
128
128
}
129
129
};
@@ -138,8 +138,8 @@ fn unary() {
138
138
if ::core::intrinsics::unlikely(!**__local_bind0) {
139
139
(&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
140
140
{
141
- ::std::rt::panic_fmt(::core::fmt::Arguments::new_v1(&[ "Assertion failed: *elem\nWith captures:\n elem = ",
142
- "\n"], &[::core::fmt::ArgumentV1::new_debug(& __capture0)] ))
141
+ ::std::rt::panic_fmt(format_args!( "Assertion failed: *elem\nWith captures:\n elem = {0:?}\n ",
142
+ __capture0))
143
143
}
144
144
}
145
145
};
0 commit comments