-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
warning: `[true]` cannot be resolved, ignoring it.
--> prim.rs:1:6
|
1 | /// [`true`] and [`bool`]
| ^^^^^^ cannot be resolved, ignoring
The bug is here:
fn is_primitive(path_str: &str, ns: Namespace) -> Option<Res> { |
It only checks for types, not for values.
I opened an issue because I'm not quite sure how to fix it: Res
has PrimTy
but doesn't seem to have a place for keywords in the value namespace.
Metadata
Metadata
Assignees
Labels
A-intra-doc-linksArea: Intra-doc links, the ability to link to items in docs by nameArea: Intra-doc links, the ability to link to items in docs by nameC-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.