mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 05:57:03 +03:00
9 lines
165 B
Rust
9 lines
165 B
Rust
#[derive(Debug)]
|
|
struct Foo {
|
|
#[cfg(true)]
|
|
field: fn(($),), //~ ERROR expected pattern, found `$`
|
|
//~^ ERROR expected pattern, found `$`
|
|
}
|
|
|
|
fn main() {}
|