Skip to content

Commit a9c21ea

Browse files
committed
Update project-model test outputs
1 parent d2698ee commit a9c21ea

4 files changed

+61
-11
lines changed

crates/project-model/test_data/output/cargo_hello_world_project_model.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
cfg_options: CfgOptions(
1919
[
2020
"debug_assertions",
21+
"rust_analyzer",
2122
"test",
2223
],
2324
),
@@ -81,6 +82,7 @@
8182
cfg_options: CfgOptions(
8283
[
8384
"debug_assertions",
85+
"rust_analyzer",
8486
"test",
8587
],
8688
),
@@ -151,6 +153,7 @@
151153
cfg_options: CfgOptions(
152154
[
153155
"debug_assertions",
156+
"rust_analyzer",
154157
"test",
155158
],
156159
),
@@ -221,6 +224,7 @@
221224
cfg_options: CfgOptions(
222225
[
223226
"debug_assertions",
227+
"rust_analyzer",
224228
"test",
225229
],
226230
),
@@ -293,6 +297,7 @@
293297
"debug_assertions",
294298
"feature=default",
295299
"feature=std",
300+
"rust_analyzer",
296301
],
297302
),
298303
potential_cfg_options: Some(
@@ -306,6 +311,7 @@
306311
"feature=rustc-dep-of-std",
307312
"feature=std",
308313
"feature=use_std",
314+
"rust_analyzer",
309315
],
310316
),
311317
),

crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
cfg_options: CfgOptions(
1919
[
2020
"debug_assertions",
21+
"rust_analyzer",
2122
"test",
2223
],
2324
),
@@ -81,6 +82,7 @@
8182
cfg_options: CfgOptions(
8283
[
8384
"debug_assertions",
85+
"rust_analyzer",
8486
"test",
8587
],
8688
),
@@ -151,6 +153,7 @@
151153
cfg_options: CfgOptions(
152154
[
153155
"debug_assertions",
156+
"rust_analyzer",
154157
"test",
155158
],
156159
),
@@ -221,6 +224,7 @@
221224
cfg_options: CfgOptions(
222225
[
223226
"debug_assertions",
227+
"rust_analyzer",
224228
"test",
225229
],
226230
),
@@ -293,6 +297,7 @@
293297
"debug_assertions",
294298
"feature=default",
295299
"feature=std",
300+
"rust_analyzer",
296301
],
297302
),
298303
potential_cfg_options: Some(
@@ -306,6 +311,7 @@
306311
"feature=rustc-dep-of-std",
307312
"feature=std",
308313
"feature=use_std",
314+
"rust_analyzer",
309315
],
310316
),
311317
),

crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
cfg_options: CfgOptions(
1919
[
2020
"debug_assertions",
21+
"rust_analyzer",
2122
],
2223
),
2324
potential_cfg_options: None,
@@ -80,6 +81,7 @@
8081
cfg_options: CfgOptions(
8182
[
8283
"debug_assertions",
84+
"rust_analyzer",
8385
],
8486
),
8587
potential_cfg_options: None,
@@ -149,6 +151,7 @@
149151
cfg_options: CfgOptions(
150152
[
151153
"debug_assertions",
154+
"rust_analyzer",
152155
],
153156
),
154157
potential_cfg_options: None,
@@ -218,6 +221,7 @@
218221
cfg_options: CfgOptions(
219222
[
220223
"debug_assertions",
224+
"rust_analyzer",
221225
],
222226
),
223227
potential_cfg_options: None,
@@ -289,6 +293,7 @@
289293
"debug_assertions",
290294
"feature=default",
291295
"feature=std",
296+
"rust_analyzer",
292297
],
293298
),
294299
potential_cfg_options: Some(
@@ -302,6 +307,7 @@
302307
"feature=rustc-dep-of-std",
303308
"feature=std",
304309
"feature=use_std",
310+
"rust_analyzer",
305311
],
306312
),
307313
),

crates/project-model/test_data/output/rust_project_hello_world_project_model.txt

Lines changed: 43 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
},
1515
),
1616
cfg_options: CfgOptions(
17-
[],
17+
[
18+
"debug_assertions",
19+
"rust_analyzer",
20+
],
1821
),
1922
potential_cfg_options: None,
2023
env: Env {
@@ -53,7 +56,10 @@
5356
},
5457
),
5558
cfg_options: CfgOptions(
56-
[],
59+
[
60+
"debug_assertions",
61+
"rust_analyzer",
62+
],
5763
),
5864
potential_cfg_options: None,
5965
env: Env {
@@ -84,7 +90,10 @@
8490
},
8591
),
8692
cfg_options: CfgOptions(
87-
[],
93+
[
94+
"debug_assertions",
95+
"rust_analyzer",
96+
],
8897
),
8998
potential_cfg_options: None,
9099
env: Env {
@@ -115,7 +124,10 @@
115124
},
116125
),
117126
cfg_options: CfgOptions(
118-
[],
127+
[
128+
"debug_assertions",
129+
"rust_analyzer",
130+
],
119131
),
120132
potential_cfg_options: None,
121133
env: Env {
@@ -146,7 +158,10 @@
146158
},
147159
),
148160
cfg_options: CfgOptions(
149-
[],
161+
[
162+
"debug_assertions",
163+
"rust_analyzer",
164+
],
150165
),
151166
potential_cfg_options: None,
152167
env: Env {
@@ -192,7 +207,10 @@
192207
},
193208
),
194209
cfg_options: CfgOptions(
195-
[],
210+
[
211+
"debug_assertions",
212+
"rust_analyzer",
213+
],
196214
),
197215
potential_cfg_options: None,
198216
env: Env {
@@ -223,7 +241,10 @@
223241
},
224242
),
225243
cfg_options: CfgOptions(
226-
[],
244+
[
245+
"debug_assertions",
246+
"rust_analyzer",
247+
],
227248
),
228249
potential_cfg_options: None,
229250
env: Env {
@@ -311,7 +332,10 @@
311332
},
312333
),
313334
cfg_options: CfgOptions(
314-
[],
335+
[
336+
"debug_assertions",
337+
"rust_analyzer",
338+
],
315339
),
316340
potential_cfg_options: None,
317341
env: Env {
@@ -342,7 +366,10 @@
342366
},
343367
),
344368
cfg_options: CfgOptions(
345-
[],
369+
[
370+
"debug_assertions",
371+
"rust_analyzer",
372+
],
346373
),
347374
potential_cfg_options: None,
348375
env: Env {
@@ -373,7 +400,10 @@
373400
},
374401
),
375402
cfg_options: CfgOptions(
376-
[],
403+
[
404+
"debug_assertions",
405+
"rust_analyzer",
406+
],
377407
),
378408
potential_cfg_options: None,
379409
env: Env {
@@ -404,7 +434,9 @@
404434
},
405435
),
406436
cfg_options: CfgOptions(
407-
[],
437+
[
438+
"rust_analyzer",
439+
],
408440
),
409441
potential_cfg_options: None,
410442
env: Env {

0 commit comments

Comments
 (0)