From b5021411a84822cb3f1e3aeffad9550dd15bdeb6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 16 Sep 2018 12:54:24 +0300 Subject: rename all things --- .../tests/data/parser/ok/0033_label_break.rs | 28 ---------------------- 1 file changed, 28 deletions(-) delete mode 100644 crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs (limited to 'crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs') diff --git a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs b/crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs deleted file mode 100644 index 728d78137..000000000 --- a/crates/libsyntax2/tests/data/parser/ok/0033_label_break.rs +++ /dev/null @@ -1,28 +0,0 @@ -// format with label break value. -fn main() { - 'empty_block: {} - - 'block: { - do_thing(); - if condition_not_met() { - break 'block; - } - do_next_thing(); - if condition_not_met() { - break 'block; - } - do_last_thing(); - } - - let result = 'block: { - if foo() { - // comment - break 'block 1; - } - if bar() { - /* comment */ - break 'block 2; - } - 3 - }; -} -- cgit v1.2.3