]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/macros/macro-attribute-expansion.rs
2 macro_rules
! descriptions
{
3 ($name
:ident is $desc
:expr
) => {
4 // Check that we will correctly expand attributes
7 const $name
: &'
static str = $desc
;
12 descriptions
! { DOG is "an animal" }
13 descriptions
! { RUST is "a language" }