about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-02-22 00:04:09 +0000
committerbors <bors@rust-lang.org>2021-02-22 00:04:09 +0000
commit24bfcee941d9f6d9900d3a02b12f6b14d00e0ffe (patch)
tree0a27d2531afd1353ecb92eea4b4d406aa3c635b5 /compiler/rustc_codegen_llvm/src
parent3e826bb11228508fbe749e594038d6727208aa94 (diff)
parentfdb32e997bef725f538f66dcfd96b1c1e51d2c56 (diff)
downloadrust-24bfcee941d9f6d9900d3a02b12f6b14d00e0ffe.tar.gz
rust-24bfcee941d9f6d9900d3a02b12f6b14d00e0ffe.zip
Auto merge of #82295 - jyn514:feature-gate, r=Manishearth
[intra-doc links] Don't check feature gates of items re-exported across crates

It should be never break another crate to re-export a public item.

Note that this doesn't check the feature gate at
*all* for other crates:

- Feature-gates aren't currently serialized, so the only way to check
  the gate is with ad-hoc attribute checking.
- Checking the feature gate twice (once when documenting the original
  crate and one when documenting the current crate) seems not great.

This should still catch using the feature most of the time though, since
people tend to document their own crates.

Closes https://github.com/rust-lang/rust/issues/82284.

r? `@Manishearth`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions