@@ -18,18 +18,18 @@ fn arbitrary_consuming_method_for_demonstration_purposes() {
1818 let mut __capture0 = ::core::asserting::Capture::new();
1919 let __local_bind0 = &elem;
2020 if ::core::intrinsics::unlikely(!(*{
21- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
22- __local_bind0
23- } as usize)) {
21+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
22+ __local_bind0
23+ } as usize)) {
2424
2525
2626
2727
28- {
29- ::std::rt::panic_fmt(format_args!("Assertion failed: elem as usize\nWith captures:\n elem = {0:?}\n",
30- __capture0));
31- }
28+ {
29+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem as usize\nWith captures:\n elem = {0:?}\n",
30+ __capture0));
3231 }
32+ }
3333 };
3434}
3535fn addr_of() {
@@ -40,12 +40,12 @@ fn addr_of() {
4040 let mut __capture0 = ::core::asserting::Capture::new();
4141 let __local_bind0 = &elem;
4242 if ::core::intrinsics::unlikely(!&*__local_bind0) {
43- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
44- {
45- ::std::rt::panic_fmt(format_args!("Assertion failed: &elem\nWith captures:\n elem = {0:?}\n",
46- __capture0));
47- }
43+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
44+ {
45+ ::std::rt::panic_fmt(format_args!("Assertion failed: &elem\nWith captures:\n elem = {0:?}\n",
46+ __capture0));
4847 }
48+ }
4949 };
5050}
5151fn binary() {
@@ -56,77 +56,77 @@ fn binary() {
5656 let mut __capture0 = ::core::asserting::Capture::new();
5757 let __local_bind0 = &elem;
5858 if ::core::intrinsics::unlikely(!(*__local_bind0 == 1)) {
59- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
60- {
61- ::std::rt::panic_fmt(format_args!("Assertion failed: elem == 1\nWith captures:\n elem = {0:?}\n",
62- __capture0));
63- }
59+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
60+ {
61+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem == 1\nWith captures:\n elem = {0:?}\n",
62+ __capture0));
6463 }
64+ }
6565 };
6666 {
6767 #[allow(unused_imports)]
6868 use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
6969 let mut __capture0 = ::core::asserting::Capture::new();
7070 let __local_bind0 = &elem;
7171 if ::core::intrinsics::unlikely(!(*__local_bind0 >= 1)) {
72- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
73- {
74- ::std::rt::panic_fmt(format_args!("Assertion failed: elem >= 1\nWith captures:\n elem = {0:?}\n",
75- __capture0));
76- }
72+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
73+ {
74+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem >= 1\nWith captures:\n elem = {0:?}\n",
75+ __capture0));
7776 }
77+ }
7878 };
7979 {
8080 #[allow(unused_imports)]
8181 use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
8282 let mut __capture0 = ::core::asserting::Capture::new();
8383 let __local_bind0 = &elem;
8484 if ::core::intrinsics::unlikely(!(*__local_bind0 > 0)) {
85- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
86- {
87- ::std::rt::panic_fmt(format_args!("Assertion failed: elem > 0\nWith captures:\n elem = {0:?}\n",
88- __capture0));
89- }
85+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
86+ {
87+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem > 0\nWith captures:\n elem = {0:?}\n",
88+ __capture0));
9089 }
90+ }
9191 };
9292 {
9393 #[allow(unused_imports)]
9494 use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
9595 let mut __capture0 = ::core::asserting::Capture::new();
9696 let __local_bind0 = &elem;
9797 if ::core::intrinsics::unlikely(!(*__local_bind0 < 3)) {
98- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
99- {
100- ::std::rt::panic_fmt(format_args!("Assertion failed: elem < 3\nWith captures:\n elem = {0:?}\n",
101- __capture0));
102- }
98+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
99+ {
100+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem < 3\nWith captures:\n elem = {0:?}\n",
101+ __capture0));
103102 }
103+ }
104104 };
105105 {
106106 #[allow(unused_imports)]
107107 use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
108108 let mut __capture0 = ::core::asserting::Capture::new();
109109 let __local_bind0 = &elem;
110110 if ::core::intrinsics::unlikely(!(*__local_bind0 <= 3)) {
111- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
112- {
113- ::std::rt::panic_fmt(format_args!("Assertion failed: elem <= 3\nWith captures:\n elem = {0:?}\n",
114- __capture0));
115- }
111+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
112+ {
113+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem <= 3\nWith captures:\n elem = {0:?}\n",
114+ __capture0));
116115 }
116+ }
117117 };
118118 {
119119 #[allow(unused_imports)]
120120 use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
121121 let mut __capture0 = ::core::asserting::Capture::new();
122122 let __local_bind0 = &elem;
123123 if ::core::intrinsics::unlikely(!(*__local_bind0 != 3)) {
124- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
125- {
126- ::std::rt::panic_fmt(format_args!("Assertion failed: elem != 3\nWith captures:\n elem = {0:?}\n",
127- __capture0));
128- }
124+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
125+ {
126+ ::std::rt::panic_fmt(format_args!("Assertion failed: elem != 3\nWith captures:\n elem = {0:?}\n",
127+ __capture0));
129128 }
129+ }
130130 };
131131}
132132fn unary() {
@@ -137,12 +137,12 @@ fn unary() {
137137 let mut __capture0 = ::core::asserting::Capture::new();
138138 let __local_bind0 = &elem;
139139 if ::core::intrinsics::unlikely(!**__local_bind0) {
140- (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
141- {
142- ::std::rt::panic_fmt(format_args!("Assertion failed: *elem\nWith captures:\n elem = {0:?}\n",
143- __capture0));
144- }
140+ (&::core::asserting::Wrapper(__local_bind0)).try_capture(&mut __capture0);
141+ {
142+ ::std::rt::panic_fmt(format_args!("Assertion failed: *elem\nWith captures:\n elem = {0:?}\n",
143+ __capture0));
145144 }
145+ }
146146 };
147147}
148148fn main() {}
0 commit comments