diff options
| author | Vincenzo Palazzo <vincenzopalazzodev@gmail.com> | 2024-07-26 20:56:41 +0000 |
|---|---|---|
| committer | Vincenzo Palazzo <vincenzopalazzodev@gmail.com> | 2024-07-31 18:34:33 +0000 |
| commit | 6b731c2e7d25965cbea9bdf34233a500acb594f3 (patch) | |
| tree | 5309edb85fde76ea9be3f7ec7848250a6c6ab299 | |
| parent | 276fa19c0a85a341c5b9fddb4ffb17282907532e (diff) | |
tests: add the _ as expr test for cargo fix
Co-authored-by: Eric Holk <eric@theincredibleholk.org> Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
| -rw-r--r-- | tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr b/tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr index e6c2bef10e2..9e49f66a89a 100644 --- a/tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr +++ b/tests/ui/macros/expr_2024_underscore_expr.edi2024.stderr @@ -1,5 +1,5 @@ error: no rules expected the token `_` - --> $DIR/expr_2024_underscore_expr.rs:23:12 + --> $DIR/expr_2024_underscore_expr.rs:22:12 | LL | macro_rules! m2021 { | ------------------ when calling this macro @@ -8,7 +8,7 @@ LL | m2021!(_); | ^ no rules expected this token in macro call | note: while trying to match meta-variable `$e:expr_2021` - --> $DIR/expr_2024_underscore_expr.rs:11:6 + --> $DIR/expr_2024_underscore_expr.rs:10:6 | LL | ($e:expr_2021) => { | ^^^^^^^^^^^^ |
