about summary refs log tree commit diff
path: root/src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-12-27 18:55:33 +0000
committerbors <bors@rust-lang.org>2020-12-27 18:55:33 +0000
commit257becbfe4987d1f7b12af5a8dd5ed96697cd2e8 (patch)
tree9e92950cce2d79e9fc34d90bd53514a2ac8b2923 /src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs
parent76188b6830897a875a1289809c12b5c5d69bb7ef (diff)
parent6ac52f0d9dc2f3f8a423e3b54663f42ac4ebab05 (diff)
downloadrust-257becbfe4987d1f7b12af5a8dd5ed96697cd2e8.tar.gz
rust-257becbfe4987d1f7b12af5a8dd5ed96697cd2e8.zip
Auto merge of #80181 - jyn514:intra-doc-primitives, r=Manishearth
Fix intra-doc links for non-path primitives

This does *not* currently work for associated items that are
auto-implemented by the compiler (e.g. `never::eq`), because they aren't
present in the source code. I plan to fix this in a follow-up PR.

Fixes https://github.com/rust-lang/rust/issues/63351 using the approach mentioned in https://github.com/rust-lang/rust/issues/63351#issuecomment-683352130.

r? `@Manishearth`

cc `@petrochenkov` - this makes `rustc_resolve::Res` public, is that ok? I'd just add an identical type alias in rustdoc if not, which seems a waste.
Diffstat (limited to 'src/test/ui/const-generics/min_const_generics/static-reference-array-const-param.rs')
0 files changed, 0 insertions, 0 deletions