]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/issue-61053-missing-repetition.stderr
Special sync of 'e89801553ddbaccdeb2eac4db08900edb51ac7ff'
[rust.git] / src / test / ui / macros / issue-61053-missing-repetition.stderr
1 error: variable 'j' is still repeating at this depth
2   --> $DIR/issue-61053-missing-repetition.rs:5:52
3    |
4 LL |     ($( $i:ident = $($j:ident),+ );*) => { $( $i = $j; )* };
5    |                                -                   ^^
6    |                                |
7    |                                expected repetition
8    |
9 note: the lint level is defined here
10   --> $DIR/issue-61053-missing-repetition.rs:1:9
11    |
12 LL | #![deny(meta_variable_misuse)]
13    |         ^^^^^^^^^^^^^^^^^^^^
14
15 error: variable 'j' is still repeating at this depth
16   --> $DIR/issue-61053-missing-repetition.rs:14:60
17    |
18 LL |             ($( $i:ident = $($j:ident),+ );*) => { $( $i = $j; )* };
19    |                                        -                   ^^
20    |                                        |
21    |                                        expected repetition
22
23 error: variable 'j' is still repeating at this depth
24   --> $DIR/issue-61053-missing-repetition.rs:20:21
25    |
26 LL |     ( $( $i:ident = $($j:ident),+ );* ) => {
27    |                                 - expected repetition
28 LL |         $(macro_rules! $i {
29 LL |             () => { $j };
30    |                     ^^
31
32 error: aborting due to 3 previous errors
33