We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6244f1 commit 1a69348Copy full SHA for 1a69348
src/test/compile-fail/hygienic-label-1.rs
@@ -9,9 +9,9 @@
9
// except according to those terms.
10
11
macro_rules! foo {
12
- () => { break 'x; }
+ () => { break 'x; } //~ ERROR use of undeclared label `'x`
13
}
14
15
pub fn main() {
16
- 'x: loop { foo!() } //~ ERROR use of undeclared label `'x`
+ 'x: loop { foo!() }
17
src/test/compile-fail/hygienic-label-3.rs
@@ -9,11 +9,11 @@
'x: for _ in 0..1 {
- foo!() //~ ERROR use of undeclared label `'x`
+ foo!()
18
};
19
0 commit comments