Fix intra-doc links for associated constants on primitives by jyn514 · Pull Request #76093 · rust-lang/rust (original) (raw)
Previously, only associated functions would be resolved. Fixes the issues in #75969 (comment).
I'm a little uncomfortable hard-coding the string constants, but it looks like that's how it's done elsewhere. I might make a follow-up PR at some point putting it in one place.
Not sure how to test associated types, since AFAIK there aren't any on primitives.
r? @Manishearth