about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2021-02-19 10:18:10 -0500
committerJoshua Nelson <jyn514@gmail.com>2021-02-19 11:38:14 -0500
commitfdb32e997bef725f538f66dcfd96b1c1e51d2c56 (patch)
treea8e358037a3a71169e155dd3b1e19490fbfe557d /compiler/rustc_codegen_llvm/src
parent8599bff5a3556059817503030e248507706e96b4 (diff)
downloadrust-fdb32e997bef725f538f66dcfd96b1c1e51d2c56.tar.gz
rust-fdb32e997bef725f538f66dcfd96b1c1e51d2c56.zip
[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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions