Intra-doc links do not resolve for value keywords #74515
Closed
Description
warning: `[true]` cannot be resolved, ignoring it.
--> prim.rs:1:6
|
1 | /// [`true`] and [`bool`]
| ^^^^^^ cannot be resolved, ignoring
The bug is here:
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.