]> git.lizzy.rs Git - rust.git/blob - src/test/ui/macros/cfg.rs
Merge commit 'c1664c50b27a51f7a78c93ba65558e7c33eabee6' into clippyup
[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 }