rust/src/librustdoc/passes
bors 24bfcee941 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`
2021-02-22 00:04:09 +00:00
..
unindent_comments Simplify docfragment transformation in unindent tests 2021-01-02 19:16:27 +01:00
calculate_doc_coverage.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
check_code_block_syntax.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
collect_intra_doc_links.rs Auto merge of #82295 - jyn514:feature-gate, r=Manishearth 2021-02-22 00:04:09 +00:00
collect_trait_impls.rs Make Clean take &mut DocContext 2021-02-16 21:25:14 -05:00
doc_test_lints.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
html_tags.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
mod.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
non_autolinks.rs Make Clean take &mut DocContext 2021-02-16 21:25:14 -05:00
propagate_doc_cfg.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
strip_hidden.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
strip_priv_imports.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
strip_private.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00
stripper.rs Remove cache usage wherever possible 2021-01-27 10:05:05 +01:00
unindent_comments.rs Take &mut DocContext in passes 2021-02-16 20:58:38 -05:00