about summary refs log tree commit diff
path: root/tests/ui/macros/cfg_select.stderr
blob: 7280f35c16f936216cea1e5d49b6c81be1f76fab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
warning: unreachable predicate
  --> $DIR/cfg_select.rs:52: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:56:1
   |
LL | / cfg_select! {
LL | |
LL | |     false => {}
LL | | }
   | |_^

error: none of the predicates in this `cfg_select` evaluated to true
  --> $DIR/cfg_select.rs:61:1
   |
LL | cfg_select! {}
   | ^^^^^^^^^^^^^^

error: aborting due to 2 previous errors; 1 warning emitted