diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2023-07-31 14:55:47 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2023-11-16 16:19:04 +0000 |
| commit | 4e418805da5867bc48d82ba1cc7eff2ba68be575 (patch) | |
| tree | c1a442a2b06f26c0940134aaaa7cd537b5acb9d1 /tests/ui/macros/syntax-error-recovery.rs | |
| parent | 1be1e84872185c427de42f4d9e757d3e3e28d90e (diff) | |
| download | rust-4e418805da5867bc48d82ba1cc7eff2ba68be575.tar.gz rust-4e418805da5867bc48d82ba1cc7eff2ba68be575.zip | |
More detail when expecting expression but encountering bad macro argument
Partially address #71039.
Diffstat (limited to 'tests/ui/macros/syntax-error-recovery.rs')
| -rw-r--r-- | tests/ui/macros/syntax-error-recovery.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/macros/syntax-error-recovery.rs b/tests/ui/macros/syntax-error-recovery.rs index ae6de3c5046..f6178c137db 100644 --- a/tests/ui/macros/syntax-error-recovery.rs +++ b/tests/ui/macros/syntax-error-recovery.rs @@ -9,7 +9,7 @@ macro_rules! values { } }; } -//~^^^^^ ERROR expected one of `(`, `,`, `=`, `{`, or `}`, found `(String)` +//~^^^^^ ERROR expected one of `(`, `,`, `=`, `{`, or `}`, found type `(String)` //~| ERROR macro expansion ignores token `(String)` and any following values!(STRING(1) as (String) => cfg(test),); |
