fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: macro requires a cfg-pattern as an argument 2 --> $DIR/cfg.rs:2:5 3 | 4LL | cfg!(); 5 | ^^^^^^^ cfg-pattern required 6 | 7 = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) 8 9error: expected identifier, found `123` 10 --> $DIR/cfg.rs:3:10 11 | 12LL | cfg!(123); 13 | ^^^ expected identifier 14 15error[E0565]: literal in `cfg` predicate value must be a string 16 --> $DIR/cfg.rs:4:16 17 | 18LL | cfg!(foo = 123); 19 | ^^^ 20 21error: aborting due to 3 previous errors 22 23For more information about this error, try `rustc --explain E0565`.