Limit the number of names and values in check-cfg diagnostics · rust-lang/rust@9d9b26b (original) (raw)
1
1
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
2
``
`-
--> $DIR/well-known-values.rs:25:5
`
``
2
`+
--> $DIR/well-known-values.rs:26:5
`
3
3
` |
`
4
4
`LL | clippy = "_UNEXPECTED_VALUE",
`
5
5
` | ^^^^^^----------------------
`
`@@ -11,7 +11,7 @@ LL | clippy = "_UNEXPECTED_VALUE",
`
11
11
`` = note: #[warn(unexpected_cfgs)] on by default
``
12
12
``
13
13
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
14
``
`-
--> $DIR/well-known-values.rs:27:5
`
``
14
`+
--> $DIR/well-known-values.rs:28:5
`
15
15
` |
`
16
16
`LL | debug_assertions = "_UNEXPECTED_VALUE",
`
17
17
` | ^^^^^^^^^^^^^^^^----------------------
`
`@@ -22,7 +22,7 @@ LL | debug_assertions = "_UNEXPECTED_VALUE",
`
22
22
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
23
23
``
24
24
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
25
``
`-
--> $DIR/well-known-values.rs:29:5
`
``
25
`+
--> $DIR/well-known-values.rs:30:5
`
26
26
` |
`
27
27
`LL | doc = "_UNEXPECTED_VALUE",
`
28
28
` | ^^^----------------------
`
`@@ -33,7 +33,7 @@ LL | doc = "_UNEXPECTED_VALUE",
`
33
33
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
34
34
``
35
35
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
36
``
`-
--> $DIR/well-known-values.rs:31:5
`
``
36
`+
--> $DIR/well-known-values.rs:32:5
`
37
37
` |
`
38
38
`LL | doctest = "_UNEXPECTED_VALUE",
`
39
39
` | ^^^^^^^----------------------
`
`@@ -44,7 +44,7 @@ LL | doctest = "_UNEXPECTED_VALUE",
`
44
44
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
45
45
``
46
46
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
47
``
`-
--> $DIR/well-known-values.rs:33:5
`
``
47
`+
--> $DIR/well-known-values.rs:34:5
`
48
48
` |
`
49
49
`LL | miri = "_UNEXPECTED_VALUE",
`
50
50
` | ^^^^----------------------
`
`@@ -55,7 +55,7 @@ LL | miri = "_UNEXPECTED_VALUE",
`
55
55
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
56
56
``
57
57
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
58
``
`-
--> $DIR/well-known-values.rs:35:5
`
``
58
`+
--> $DIR/well-known-values.rs:36:5
`
59
59
` |
`
60
60
`LL | overflow_checks = "_UNEXPECTED_VALUE",
`
61
61
` | ^^^^^^^^^^^^^^^----------------------
`
`@@ -66,7 +66,7 @@ LL | overflow_checks = "_UNEXPECTED_VALUE",
`
66
66
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
67
67
``
68
68
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
69
``
`-
--> $DIR/well-known-values.rs:37:5
`
``
69
`+
--> $DIR/well-known-values.rs:38:5
`
70
70
` |
`
71
71
`LL | panic = "_UNEXPECTED_VALUE",
`
72
72
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -75,7 +75,7 @@ LL | panic = "_UNEXPECTED_VALUE",
`
75
75
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
76
76
``
77
77
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
78
``
`-
--> $DIR/well-known-values.rs:39:5
`
``
78
`+
--> $DIR/well-known-values.rs:40:5
`
79
79
` |
`
80
80
`LL | proc_macro = "_UNEXPECTED_VALUE",
`
81
81
` | ^^^^^^^^^^----------------------
`
`@@ -86,7 +86,7 @@ LL | proc_macro = "_UNEXPECTED_VALUE",
`
86
86
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
87
87
``
88
88
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
89
``
`-
--> $DIR/well-known-values.rs:41:5
`
``
89
`+
--> $DIR/well-known-values.rs:42:5
`
90
90
` |
`
91
91
`LL | relocation_model = "_UNEXPECTED_VALUE",
`
92
92
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -95,7 +95,7 @@ LL | relocation_model = "_UNEXPECTED_VALUE",
`
95
95
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
96
96
``
97
97
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
98
``
`-
--> $DIR/well-known-values.rs:43:5
`
``
98
`+
--> $DIR/well-known-values.rs:44:5
`
99
99
` |
`
100
100
`LL | sanitize = "_UNEXPECTED_VALUE",
`
101
101
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -104,7 +104,7 @@ LL | sanitize = "_UNEXPECTED_VALUE",
`
104
104
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
105
105
``
106
106
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
107
``
`-
--> $DIR/well-known-values.rs:45:5
`
``
107
`+
--> $DIR/well-known-values.rs:46:5
`
108
108
` |
`
109
109
`LL | target_abi = "_UNEXPECTED_VALUE",
`
110
110
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -113,7 +113,7 @@ LL | target_abi = "_UNEXPECTED_VALUE",
`
113
113
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
114
114
``
115
115
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
116
``
`-
--> $DIR/well-known-values.rs:47:5
`
``
116
`+
--> $DIR/well-known-values.rs:48:5
`
117
117
` |
`
118
118
`LL | target_arch = "_UNEXPECTED_VALUE",
`
119
119
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -122,7 +122,7 @@ LL | target_arch = "_UNEXPECTED_VALUE",
`
122
122
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
123
123
``
124
124
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
125
``
`-
--> $DIR/well-known-values.rs:49:5
`
``
125
`+
--> $DIR/well-known-values.rs:50:5
`
126
126
` |
`
127
127
`LL | target_endian = "_UNEXPECTED_VALUE",
`
128
128
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -131,7 +131,7 @@ LL | target_endian = "_UNEXPECTED_VALUE",
`
131
131
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
132
132
``
133
133
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
134
``
`-
--> $DIR/well-known-values.rs:51:5
`
``
134
`+
--> $DIR/well-known-values.rs:52:5
`
135
135
` |
`
136
136
`LL | target_env = "_UNEXPECTED_VALUE",
`
137
137
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -140,7 +140,7 @@ LL | target_env = "_UNEXPECTED_VALUE",
`
140
140
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
141
141
``
142
142
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
143
``
`-
--> $DIR/well-known-values.rs:53:5
`
``
143
`+
--> $DIR/well-known-values.rs:54:5
`
144
144
` |
`
145
145
`LL | target_family = "_UNEXPECTED_VALUE",
`
146
146
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -149,7 +149,7 @@ LL | target_family = "_UNEXPECTED_VALUE",
`
149
149
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
150
150
``
151
151
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
152
``
`-
--> $DIR/well-known-values.rs:55:5
`
``
152
`+
--> $DIR/well-known-values.rs:56:5
`
153
153
` |
`
154
154
`LL | target_feature = "_UNEXPECTED_VALUE",
`
155
155
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -158,7 +158,7 @@ LL | target_feature = "_UNEXPECTED_VALUE",
`
158
158
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
159
159
``
160
160
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
161
``
`-
--> $DIR/well-known-values.rs:57:5
`
``
161
`+
--> $DIR/well-known-values.rs:58:5
`
162
162
` |
`
163
163
`LL | target_has_atomic = "_UNEXPECTED_VALUE",
`
164
164
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -167,7 +167,7 @@ LL | target_has_atomic = "_UNEXPECTED_VALUE",
`
167
167
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
168
168
``
169
169
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
170
``
`-
--> $DIR/well-known-values.rs:59:5
`
``
170
`+
--> $DIR/well-known-values.rs:60:5
`
171
171
` |
`
172
172
`LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE",
`
173
173
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -176,7 +176,7 @@ LL | target_has_atomic_equal_alignment = "_UNEXPECTED_VALUE",
`
176
176
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
177
177
``
178
178
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
179
``
`-
--> $DIR/well-known-values.rs:61:5
`
``
179
`+
--> $DIR/well-known-values.rs:62:5
`
180
180
` |
`
181
181
`LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE",
`
182
182
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -185,7 +185,7 @@ LL | target_has_atomic_load_store = "_UNEXPECTED_VALUE",
`
185
185
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
186
186
``
187
187
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
188
``
`-
--> $DIR/well-known-values.rs:63:5
`
``
188
`+
--> $DIR/well-known-values.rs:64:5
`
189
189
` |
`
190
190
`LL | target_os = "_UNEXPECTED_VALUE",
`
191
191
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -194,7 +194,7 @@ LL | target_os = "_UNEXPECTED_VALUE",
`
194
194
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
195
195
``
196
196
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
197
``
`-
--> $DIR/well-known-values.rs:65:5
`
``
197
`+
--> $DIR/well-known-values.rs:66:5
`
198
198
` |
`
199
199
`LL | target_pointer_width = "_UNEXPECTED_VALUE",
`
200
200
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -203,7 +203,7 @@ LL | target_pointer_width = "_UNEXPECTED_VALUE",
`
203
203
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
204
204
``
205
205
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
206
``
`-
--> $DIR/well-known-values.rs:67:5
`
``
206
`+
--> $DIR/well-known-values.rs:68:5
`
207
207
` |
`
208
208
`LL | target_thread_local = "_UNEXPECTED_VALUE",
`
209
209
` | ^^^^^^^^^^^^^^^^^^^----------------------
`
`@@ -214,7 +214,7 @@ LL | target_thread_local = "_UNEXPECTED_VALUE",
`
214
214
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
215
215
``
216
216
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
217
``
`-
--> $DIR/well-known-values.rs:69:5
`
``
217
`+
--> $DIR/well-known-values.rs:70:5
`
218
218
` |
`
219
219
`LL | target_vendor = "_UNEXPECTED_VALUE",
`
220
220
` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`
`@@ -223,7 +223,7 @@ LL | target_vendor = "_UNEXPECTED_VALUE",
`
223
223
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
224
224
``
225
225
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
226
``
`-
--> $DIR/well-known-values.rs:71:5
`
``
226
`+
--> $DIR/well-known-values.rs:72:5
`
227
227
` |
`
228
228
`LL | test = "_UNEXPECTED_VALUE",
`
229
229
` | ^^^^----------------------
`
`@@ -234,7 +234,7 @@ LL | test = "_UNEXPECTED_VALUE",
`
234
234
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
235
235
``
236
236
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
237
``
`-
--> $DIR/well-known-values.rs:73:5
`
``
237
`+
--> $DIR/well-known-values.rs:74:5
`
238
238
` |
`
239
239
`LL | unix = "_UNEXPECTED_VALUE",
`
240
240
` | ^^^^----------------------
`
`@@ -245,7 +245,7 @@ LL | unix = "_UNEXPECTED_VALUE",
`
245
245
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
246
246
``
247
247
`` warning: unexpected cfg condition value: _UNEXPECTED_VALUE
``
248
``
`-
--> $DIR/well-known-values.rs:75:5
`
``
248
`+
--> $DIR/well-known-values.rs:76:5
`
249
249
` |
`
250
250
`LL | windows = "_UNEXPECTED_VALUE",
`
251
251
` | ^^^^^^^----------------------
`
`@@ -256,7 +256,7 @@ LL | windows = "_UNEXPECTED_VALUE",
`
256
256
` = note: see https://doc.rust-lang.org/nightly/unstable-book/compiler-flags/check-cfg.html for more information about checking conditional configuration
`
257
257
``
258
258
`` warning: unexpected cfg condition value: linuz
``
259
``
`-
--> $DIR/well-known-values.rs:81:7
`
``
259
`+
--> $DIR/well-known-values.rs:82:7
`
260
260
` |
`
261
261
`` LL | #[cfg(target_os = "linuz")] // testing that we suggest linux
``
262
262
` | ^^^^^^^^^^^^-------
`