Sign in
rust
/
rust-lang
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
macros
/
cfg.rs
blob: d992ec82e2fd2460cad7385ba2ff716e1594fbad [
file
] [
log
] [
blame
] [
edit
]
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
}