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