]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hygiene/eager-from-opaque.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[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 }