mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-01 15:58:01 +00:00
7 lines
230 B
Rust
7 lines
230 B
Rust
fn main() {
|
|
cfg!(); //~ ERROR macro requires a cfg-pattern
|
|
cfg!(123); //~ ERROR malformed `cfg` macro input
|
|
cfg!(foo = 123); //~ ERROR malformed `cfg` macro input
|
|
cfg!(foo, bar); //~ ERROR expected 1 cfg-pattern
|
|
}
|