We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ad667 commit 2d1b2a9Copy full SHA for 2d1b2a9
tests/ui/weird-exprs.rs
@@ -231,6 +231,31 @@ fn infcx() {
231
let _cx: cx::cx::Cx = cx::cx::cx::cx::cx::Cx;
232
}
233
234
+fn return_already() -> impl std::fmt::Debug {
235
+ loop {
236
+ return !!!!!!!
237
+ break !!!!!!1111
238
+ }
239
+}
240
+
241
+fn cursed_macros() -> impl std::fmt::Debug {
242
243
+ if! {
244
+ match! (
245
+ break! {
246
+ return! {
247
+ 1337
248
249
250
+ )
251
252
+ {}
253
254
255
256
257
258
259
pub fn main() {
260
strange();
261
funny();
@@ -257,4 +282,6 @@ pub fn main() {
282
semisemisemisemisemi();
283
useful_syntax();
284
infcx();
285
+ return_already();
286
+ cursed_macros();
287
0 commit comments