]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/cfg.rs
Rollup merge of #57859 - GuillaumeGomez:fix-background, r=QuietMisdreavus
[rust.git] / src / test / ui / macros / cfg.rs
1 fn main() {
2     cfg!(); //~ ERROR macro requires a cfg-pattern
3     cfg!(123); //~ ERROR expected identifier
4     cfg!(foo = 123); //~ ERROR literal in `cfg` predicate value must be a string
5 }