about summary refs log tree commit diff
path: root/tests/ui/macros/cfg_select.stderr
blob: 6c18a7c189dccdc4fac699836f428bb2842488e7 (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
26
27
28
29
30
31
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