rust/tests/ui/parser/issue-116781.rs
2023-10-28 08:53:51 +08:00

8 lines
166 B
Rust

#[derive(Debug)]
struct Foo {
#[cfg(all())]
field: fn(($),), //~ ERROR expected pattern, found `$`
//~^ ERROR expected pattern, found `$`
}
fn main() {}