]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/syntax-error-recovery.rs
2 ($
($token
:ident($value
:literal
) $
(as $inner
:ty
)?
=> $attr
:meta
,)*) => {
7 $token $
($inner
)?
= $value
,
12 //~^^^^^ ERROR expected one of `(`, `,`, `=`, `{`, or `}`, found `(String)`
13 //~| ERROR macro expansion ignores token `(String)` and any following
15 values
!(STRING(1) as (String
) => cfg(test
),);
16 //~^ ERROR expected one of `!` or `::`, found `<eof>`