]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/eager-from-opaque.rs
Merge commit '27afd6ade4bb1123a8bf82001629b69d23d62aff' into clippyup
[rust.git] / src / test / ui / hygiene / eager-from-opaque.rs
1 // Opaque macro can eagerly expand its input without breaking its resolution.
2 // Regression test for issue #63685.
3
4 // check-pass
5
6 macro_rules! foo {
7     () => {
8         "foo"
9     };
10 }
11
12 macro_rules! bar {
13     () => {
14         foo!()
15     };
16 }
17
18 fn main() {
19     format_args!(bar!());
20 }