fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

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