diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-11-12 23:18:32 +0100 |
|---|---|---|
| committer | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2022-11-14 19:59:15 +0100 |
| commit | 7e7c11cf560527c4a7c70da63455cc23f4c51235 (patch) | |
| tree | a6dcad97396a59b48fe6ba0b77dd268f90ef8d0b /src/test/ui/array-slice-vec | |
| parent | 8ef2485bd59cad3674b9c7de29316c20d7ddc6e7 (diff) | |
Show a note where a macro failed to match
This shows a small note on what the macro matcher was currently processing to aid with "no rules expected the token X" errors.
Diffstat (limited to 'src/test/ui/array-slice-vec')
| -rw-r--r-- | src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr b/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr index abbee347c00..ec4a001f4d0 100644 --- a/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr +++ b/src/test/ui/array-slice-vec/vec-macro-with-comma-only.stderr @@ -3,6 +3,8 @@ error: no rules expected the token `,` | LL | vec![,]; | ^ no rules expected this token in macro call + | + = note: while trying to match end of macro error: aborting due to previous error |
