about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/allocator.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-24 06:05:00 +0000
committerbors <bors@rust-lang.org>2020-08-24 06:05:00 +0000
commitd795eb4b106bf4e964619dbe7cd20369f51fd1c9 (patch)
tree276808e8f21c6320dad85dd61e98b1dbf1220700 /compiler/rustc_codegen_llvm/src/allocator.rs
parentc4b6d9411f939c1ad7b3521b907fa101f3360462 (diff)
parent5aac94a1f616f3fce070cb9b21995712aef6cc0d (diff)
downloadrust-d795eb4b106bf4e964619dbe7cd20369f51fd1c9.tar.gz
rust-d795eb4b106bf4e964619dbe7cd20369f51fd1c9.zip
Auto merge of #75855 - jyn514:no-cfg-doc, r=ollie27
Use allow(unused_imports) instead of cfg(doc) for imports used only for intra-doc links

This prevents links from breaking when items are re-exported in a
different crate and the original isn't being documented.

Spotted in https://github.com/rust-lang/rust/pull/75832#discussion_r475275837 (thanks ollie!)

r? @ollie27
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/allocator.rs')
0 files changed, 0 insertions, 0 deletions