and make internal terminology consistent Co-authored-by: Travis Cross <tc@traviscross.com>
31 lines
683 B
Text
31 lines
683 B
Text
error: expected `{`, found `1`
|
|
--> $DIR/cfg_select.rs:13:17
|
|
|
|
|
LL | true => 1
|
|
| ^ expected `{`
|
|
|
|
warning: unreachable predicate
|
|
--> $DIR/cfg_select.rs:20:5
|
|
|
|
|
LL | _ => {}
|
|
| - always matches
|
|
LL | true => {}
|
|
| ^^^^ this predicate is never reached
|
|
|
|
error: none of the predicates in this `cfg_select` evaluated to true
|
|
--> $DIR/cfg_select.rs:24:1
|
|
|
|
|
LL | / cfg_select! {
|
|
LL | |
|
|
LL | | false => {}
|
|
LL | | }
|
|
| |_^
|
|
|
|
error: none of the predicates in this `cfg_select` evaluated to true
|
|
--> $DIR/cfg_select.rs:29:1
|
|
|
|
|
LL | cfg_select! {}
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors; 1 warning emitted
|
|
|