fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0426]: use of undeclared label `'a` 2 --> $DIR/label_break_value_invalid.rs:6:19 3 | 4LL | break 'a $val; 5 | ^^ undeclared label `'a` 6... 7LL | mac2!(2); 8 | -------- in this macro invocation 9 | 10 = note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info) 11 12error[E0426]: use of undeclared label `'a` 13 --> $DIR/label_break_value_invalid.rs:28:19 14 | 15LL | let x: u8 = mac3!('b: { 16 | -- a label with a similar name is reachable 17LL | if true { 18LL | break 'a 3; 19 | ^^ 20 | | 21 | undeclared label `'a` 22 | help: try using similarly named label: `'b` 23 24error[E0426]: use of undeclared label `'a` 25 --> $DIR/label_break_value_invalid.rs:33:29 26 | 27LL | let x: u8 = mac3!(break 'a 4); 28 | ^^ undeclared label `'a` 29 30error: aborting due to 3 previous errors 31 32For more information about this error, try `rustc --explain E0426`.