1 // `macro_rules` items produced by transparent macros have correct hygiene in basic cases.
2 // Local variables and labels are hygienic, items are not hygienic.
3 // `$crate` refers to the crate that defines `macro_rules` and not the outer transparent macro.
5 // aux-build:gen-macro-rules-hygiene.rs
8 extern crate gen_macro_rules_hygiene;
13 //~^ ERROR use of undeclared label `'label_use`
14 //~| ERROR cannot find value `local_use` in this scope
21 local_def; //~ ERROR cannot find value `local_def` in this scope