Unnamed repository; edit this file 'description' to name the repository.
-rw-r--r--crates/project-model/test_data/output/cargo_hello_world_project_model.txt6
-rw-r--r--crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt6
-rw-r--r--crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt6
-rw-r--r--crates/project-model/test_data/output/rust_project_hello_world_project_model.txt54
4 files changed, 61 insertions, 11 deletions
diff --git a/crates/project-model/test_data/output/cargo_hello_world_project_model.txt b/crates/project-model/test_data/output/cargo_hello_world_project_model.txt
index 447c7e5c86..b5e4937115 100644
--- a/crates/project-model/test_data/output/cargo_hello_world_project_model.txt
+++ b/crates/project-model/test_data/output/cargo_hello_world_project_model.txt
@@ -18,6 +18,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -81,6 +82,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -151,6 +153,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -221,6 +224,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -293,6 +297,7 @@
"debug_assertions",
"feature=default",
"feature=std",
+ "rust_analyzer",
],
),
potential_cfg_options: Some(
@@ -306,6 +311,7 @@
"feature=rustc-dep-of-std",
"feature=std",
"feature=use_std",
+ "rust_analyzer",
],
),
),
diff --git a/crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt b/crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt
index 447c7e5c86..b5e4937115 100644
--- a/crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt
+++ b/crates/project-model/test_data/output/cargo_hello_world_project_model_with_selective_overrides.txt
@@ -18,6 +18,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -81,6 +82,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -151,6 +153,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -221,6 +224,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
"test",
],
),
@@ -293,6 +297,7 @@
"debug_assertions",
"feature=default",
"feature=std",
+ "rust_analyzer",
],
),
potential_cfg_options: Some(
@@ -306,6 +311,7 @@
"feature=rustc-dep-of-std",
"feature=std",
"feature=use_std",
+ "rust_analyzer",
],
),
),
diff --git a/crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt b/crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt
index 2e8ece82a1..050791d64c 100644
--- a/crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt
+++ b/crates/project-model/test_data/output/cargo_hello_world_project_model_with_wildcard_overrides.txt
@@ -18,6 +18,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
],
),
potential_cfg_options: None,
@@ -80,6 +81,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
],
),
potential_cfg_options: None,
@@ -149,6 +151,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
],
),
potential_cfg_options: None,
@@ -218,6 +221,7 @@
cfg_options: CfgOptions(
[
"debug_assertions",
+ "rust_analyzer",
],
),
potential_cfg_options: None,
@@ -289,6 +293,7 @@
"debug_assertions",
"feature=default",
"feature=std",
+ "rust_analyzer",
],
),
potential_cfg_options: Some(
@@ -302,6 +307,7 @@
"feature=rustc-dep-of-std",
"feature=std",
"feature=use_std",
+ "rust_analyzer",
],
),
),
diff --git a/crates/project-model/test_data/output/rust_project_hello_world_project_model.txt b/crates/project-model/test_data/output/rust_project_hello_world_project_model.txt
index fb3f5933b1..24803e7d9a 100644
--- a/crates/project-model/test_data/output/rust_project_hello_world_project_model.txt
+++ b/crates/project-model/test_data/output/rust_project_hello_world_project_model.txt
@@ -14,7 +14,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -53,7 +56,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -84,7 +90,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -115,7 +124,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -146,7 +158,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -192,7 +207,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -223,7 +241,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -311,7 +332,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -342,7 +366,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -373,7 +400,10 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "debug_assertions",
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {
@@ -404,7 +434,9 @@
},
),
cfg_options: CfgOptions(
- [],
+ [
+ "rust_analyzer",
+ ],
),
potential_cfg_options: None,
env: Env {