]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #74098 - GuillaumeGomez:doc-alias-checks, r=ollie27
authorbors <bors@rust-lang.org>
Wed, 19 Aug 2020 13:10:16 +0000 (13:10 +0000)
committerbors <bors@rust-lang.org>
Wed, 19 Aug 2020 13:10:16 +0000 (13:10 +0000)
commite7f6ed14d5de2199d0e8a3c1e41f80e43885cb5c
treebb13efb1f6ac76162d044d9c326df6640686eeb3
parent11a44adc6fadd84fc11ed986179504e883b528d1
parentfc6fb3fb8ff4589bf766e09670b1e0b005581500
Auto merge of #74098 - GuillaumeGomez:doc-alias-checks, r=ollie27

Doc alias checks: ensure only items appearing in search index can use it

Following the discussion in #73721, I added checks to ensure that only items appearing in the search are allowed to have doc alias.

r? @ollie27
src/librustc_passes/check_attr.rs
src/librustdoc/core.rs