]> git.lizzy.rs Git - rust.git/commit - src/librustc_llvm/build.rs
Auto merge of #76093 - jyn514:prim-assoc-items, r=Manishearth
authorbors <bors@rust-lang.org>
Sun, 30 Aug 2020 02:36:48 +0000 (02:36 +0000)
committerbors <bors@rust-lang.org>
Sun, 30 Aug 2020 02:36:48 +0000 (02:36 +0000)
commitf6d910c85251191becdf2bed78219be66ebb1d3a
tree08733741a83482d60f23b8cedc0afcd0c40e7acf
parent62850d882b1f546783d064ca3b51d1f85b92eeb7
parent14047849920fa42361286eeef5f0f09436195643
Auto merge of #76093 - jyn514:prim-assoc-items, r=Manishearth

Fix intra-doc links for associated constants

Previously, only associated functions would be resolved. Fixes the issues in https://github.com/rust-lang/rust/pull/75969#discussion_r477898003.

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