rust/src/librustdoc/html
bors 28d73a3ee3 Auto merge of #80099 - jyn514:visibility-on-demand, r=GuillaumeGomez
Remove `DefPath` from `Visibility` and calculate it on demand

Depends on #80090 and should not be merged before. Helps with https://github.com/rust-lang/rust/issues/79103 and https://github.com/rust-lang/rust/issues/76382.

cc https://github.com/rust-lang/rust/pull/80014#issuecomment-746810284 - `@nnethercote` I figured it out! It was simpler than I expected :)

This brings the size of `clean::Visibility` down from 40 bytes to 8.

Note that this does *not* remove `clean::Visibility`, even though it's now basically the same as `ty::Visibility`, because the `Invsible` variant means something different from `Inherited` and I thought it would be be confusing to merge the two. See the new comments on `impl Clean for ty::Visibility` for details.
2020-12-23 06:39:15 +00:00
..
highlight Add test to ensure that no DOS backline (\r\n) doesn't create extra backline in source rendering 2020-11-15 20:57:20 +01:00
markdown impl Default for LangString, replacing all_false by default 2020-12-20 00:26:38 +01:00
render Auto merge of #80099 - jyn514:visibility-on-demand, r=GuillaumeGomez 2020-12-23 06:39:15 +00:00
static Rollup merge of #79796 - GuillaumeGomez:hide-associated-const-when-collapsing, r=jyn514 2020-12-15 16:43:21 +01:00
toc Format the world 2019-12-22 17:42:47 -05:00
escape.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
format.rs Remove DefPath from Visibility and calculate it on demand 2020-12-18 12:29:55 -05:00
highlight.rs Rollup merge of #79069 - jyn514:class-none, r=GuillaumeGomez 2020-11-17 16:13:51 +01:00
layout.rs Fixes submit event of the search input 2020-12-13 00:25:06 +01:00
markdown.rs Auto merge of #80206 - poliorcetics:rustdoc-default-langstring, r=GuillaumeGomez,jyn514 2020-12-21 07:00:17 +00:00
mod.rs Make markdown module public for doc-tests 2020-11-15 11:21:13 -05:00
sources.rs Make it compile 2020-12-17 11:36:04 -05:00
static_files.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
toc.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00