11error: none of the predicates in this `cfg_select` evaluated to true
2- --> $DIR/cfg_select.rs:161 :1
2+ --> $DIR/cfg_select.rs:162 :1
33 |
44LL | / cfg_select! {
55LL | |
@@ -8,55 +8,55 @@ LL | | }
88 | |_^
99
1010error: none of the predicates in this `cfg_select` evaluated to true
11- --> $DIR/cfg_select.rs:166 :1
11+ --> $DIR/cfg_select.rs:167 :1
1212 |
1313LL | cfg_select! {}
1414 | ^^^^^^^^^^^^^^
1515
1616error: expected a literal (`1u8`, `1.0f32`, `"string"`, etc.) here, found `=>`
17- --> $DIR/cfg_select.rs:170 :5
17+ --> $DIR/cfg_select.rs:171 :5
1818 |
1919LL | => {}
2020 | ^^
2121
2222error: expected a literal (`1u8`, `1.0f32`, `"string"`, etc.) here, found expression
23- --> $DIR/cfg_select.rs:175 :5
23+ --> $DIR/cfg_select.rs:176 :5
2424 |
2525LL | () => {}
2626 | ^^ expressions are not allowed here
2727
2828error[E0539]: malformed `cfg_select` macro input
29- --> $DIR/cfg_select.rs:180 :5
29+ --> $DIR/cfg_select.rs:181 :5
3030 |
3131LL | "str" => {}
3232 | ^^^^^ expected a valid identifier here
3333
3434error[E0539]: malformed `cfg_select` macro input
35- --> $DIR/cfg_select.rs:185 :5
35+ --> $DIR/cfg_select.rs:186 :5
3636 |
3737LL | a::b => {}
3838 | ^^^^ expected a valid identifier here
3939
4040error[E0537]: invalid predicate `a`
41- --> $DIR/cfg_select.rs:190 :5
41+ --> $DIR/cfg_select.rs:191 :5
4242 |
4343LL | a() => {}
4444 | ^^^
4545
4646error: expected one of `(`, `::`, `=>`, or `=`, found `+`
47- --> $DIR/cfg_select.rs:195 :7
47+ --> $DIR/cfg_select.rs:196 :7
4848 |
4949LL | a + 1 => {}
5050 | ^ expected one of `(`, `::`, `=>`, or `=`
5151
5252error: expected one of `(`, `::`, `=>`, or `=`, found `!`
53- --> $DIR/cfg_select.rs:201 :8
53+ --> $DIR/cfg_select.rs:202 :8
5454 |
5555LL | cfg!() => {}
5656 | ^ expected one of `(`, `::`, `=>`, or `=`
5757
5858warning: unreachable configuration predicate
59- --> $DIR/cfg_select.rs:136 :5
59+ --> $DIR/cfg_select.rs:137 :5
6060 |
6161LL | _ => {}
6262 | - always matches
@@ -70,33 +70,33 @@ LL | #![warn(unreachable_cfg_select_predicates)] // Unused warnings are disabled
7070 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7171
7272warning: unreachable configuration predicate
73- --> $DIR/cfg_select.rs:142 :5
73+ --> $DIR/cfg_select.rs:143 :5
7474 |
7575LL | true => {}
7676 | ---- always matches
7777LL | _ => {}
7878 | ^ this configuration predicate is never reached
7979
8080warning: unreachable configuration predicate
81- --> $DIR/cfg_select.rs:149 :5
81+ --> $DIR/cfg_select.rs:150 :5
8282 |
8383LL | _ => {}
8484 | ^ this configuration predicate is never reached
8585
8686warning: unreachable configuration predicate
87- --> $DIR/cfg_select.rs:155 :5
87+ --> $DIR/cfg_select.rs:156 :5
8888 |
8989LL | test => {}
9090 | ^^^^ this configuration predicate is never reached
9191
9292warning: unreachable configuration predicate
93- --> $DIR/cfg_select.rs:157 :5
93+ --> $DIR/cfg_select.rs:158 :5
9494 |
9595LL | _ => {}
9696 | ^ this configuration predicate is never reached
9797
9898warning: unexpected `cfg` condition name: `a`
99- --> $DIR/cfg_select.rs:195 :5
99+ --> $DIR/cfg_select.rs:196 :5
100100 |
101101LL | a + 1 => {}
102102 | ^ help: found config with similar value: `target_feature = "a"`
@@ -107,7 +107,7 @@ LL | a + 1 => {}
107107 = note: `#[warn(unexpected_cfgs)]` on by default
108108
109109warning: unexpected `cfg` condition name: `cfg`
110- --> $DIR/cfg_select.rs:201 :5
110+ --> $DIR/cfg_select.rs:202 :5
111111 |
112112LL | cfg!() => {}
113113 | ^^^
0 commit comments