Intra-doc links do not resolve for value keywords · Issue #74515 · rust-lang/rust (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
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.