]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/issue-61053-unbound.stderr
Rollup merge of #106931 - Ezrashaw:docs-e0208, r=compiler-errors
[rust.git] / tests / ui / macros / issue-61053-unbound.stderr
1 error: unknown macro variable `k`
2   --> $DIR/issue-61053-unbound.rs:5:55
3    |
4 LL |     ($( $i:ident = $($j:ident),+ );*) => { $( $( $i = $k; )+ )* };
5    |                                                       ^^
6    |
7 note: the lint level is defined here
8   --> $DIR/issue-61053-unbound.rs:1:9
9    |
10 LL | #![deny(meta_variable_misuse)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: unknown macro variable `k`
14   --> $DIR/issue-61053-unbound.rs:14:63
15    |
16 LL |             ($( $i:ident = $($j:ident),+ );*) => { $( $( $i = $k; )+ )* };
17    |                                                               ^^
18
19 error: unknown macro variable `k`
20   --> $DIR/issue-61053-unbound.rs:20:29
21    |
22 LL |             () => { $( $i = $k)+ };
23    |                             ^^
24
25 error: aborting due to 3 previous errors
26