]> git.lizzy.rs Git - rust.git/blob - tests/ui/macros/none-delim-lookahead.rs
Rollup merge of #106962 - compiler-errors:use-sugg-span, r=oli-obk
[rust.git] / tests / ui / macros / none-delim-lookahead.rs
1 // check-pass
2
3 macro_rules! make_struct {
4     ($name:ident) => {
5         #[derive(Debug)]
6         struct Foo {
7             #[cfg(not(FALSE))]
8             field: fn($name: bool)
9         }
10     }
11 }
12
13 make_struct!(param_name);
14
15 fn main() {}