@@ -18,18 +18,18 @@ fn arbitrary_consuming_method_for_demonstration_purposes() {
18
18
let mut __capture0 = ::core::asserting::Capture::new();
19
19
let __local_bind0 = &elem;
20
20
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)) {
24
24
25
25
26
26
27
27
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));
32
31
}
32
+ }
33
33
};
34
34
}
35
35
fn addr_of() {
@@ -40,12 +40,12 @@ fn addr_of() {
40
40
let mut __capture0 = ::core::asserting::Capture::new();
41
41
let __local_bind0 = &elem;
42
42
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));
48
47
}
48
+ }
49
49
};
50
50
}
51
51
fn binary() {
@@ -56,77 +56,77 @@ fn binary() {
56
56
let mut __capture0 = ::core::asserting::Capture::new();
57
57
let __local_bind0 = &elem;
58
58
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));
64
63
}
64
+ }
65
65
};
66
66
{
67
67
#[allow(unused_imports)]
68
68
use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
69
69
let mut __capture0 = ::core::asserting::Capture::new();
70
70
let __local_bind0 = &elem;
71
71
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));
77
76
}
77
+ }
78
78
};
79
79
{
80
80
#[allow(unused_imports)]
81
81
use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
82
82
let mut __capture0 = ::core::asserting::Capture::new();
83
83
let __local_bind0 = &elem;
84
84
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));
90
89
}
90
+ }
91
91
};
92
92
{
93
93
#[allow(unused_imports)]
94
94
use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
95
95
let mut __capture0 = ::core::asserting::Capture::new();
96
96
let __local_bind0 = &elem;
97
97
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));
103
102
}
103
+ }
104
104
};
105
105
{
106
106
#[allow(unused_imports)]
107
107
use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
108
108
let mut __capture0 = ::core::asserting::Capture::new();
109
109
let __local_bind0 = &elem;
110
110
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));
116
115
}
116
+ }
117
117
};
118
118
{
119
119
#[allow(unused_imports)]
120
120
use ::core::asserting::{TryCaptureGeneric, TryCapturePrintable};
121
121
let mut __capture0 = ::core::asserting::Capture::new();
122
122
let __local_bind0 = &elem;
123
123
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));
129
128
}
129
+ }
130
130
};
131
131
}
132
132
fn unary() {
@@ -137,12 +137,12 @@ fn unary() {
137
137
let mut __capture0 = ::core::asserting::Capture::new();
138
138
let __local_bind0 = &elem;
139
139
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));
145
144
}
145
+ }
146
146
};
147
147
}
148
148
fn main() {}
0 commit comments