We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ca19e0 commit f5ca02cCopy full SHA for f5ca02c
Cargo.lock
@@ -2894,6 +2894,7 @@ dependencies = [
2894
name = "proc_macro"
2895
version = "0.0.0"
2896
dependencies = [
2897
+ "core",
2898
"std",
2899
]
2900
library/proc_macro/Cargo.toml
@@ -5,3 +5,7 @@ edition = "2021"
5
6
[dependencies]
7
std = { path = "../std" }
8
+# Workaround: when documenting this crate rustdoc will try to load crate named
9
+# `core` when resolving doc links. Without this line a different `core` will be
10
+# loaded from sysroot causing duplicate lang items and other similar errors.
11
+core = { path = "../core" }
0 commit comments