We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e404f4 + d8c80e7 commit a738737Copy full SHA for a738737
crates/project-model/src/sysroot.rs
@@ -276,4 +276,7 @@ unwind
276
std_detect
277
test";
278
279
-const PROC_MACRO_DEPS: &str = "std";
+// core is required for our builtin derives to work in the proc_macro lib currently
280
+const PROC_MACRO_DEPS: &str = "
281
+std
282
+core";
crates/project-model/src/tests.rs
@@ -1547,6 +1547,15 @@ fn rust_project_hello_world_project_model() {
1547
),
1548
prelude: true,
1549
},
1550
+ Dependency {
1551
+ crate_id: CrateId(
1552
+ 1,
1553
+ ),
1554
+ name: CrateName(
1555
+ "core",
1556
1557
+ prelude: true,
1558
+ },
1559
],
1560
proc_macro: Err(
1561
"no proc macro loaded for sysroot crate",
0 commit comments