rust/src/librustdoc
Jonas Schievink ee4461a996
Rollup merge of #81302 - LeSeulArtichaut:80777-trait-render, r=jyn514
Fix rendering of stabilization version for trait implementors

Rustdoc compares an item's stabilization version with its parent's to not render it if they are the same. Here, the implementor was compared with itself, resulting in the stabilization version never getting shown.

This probably needs a test.

Fixes #80777.
r? `@jyn514`
2021-01-24 22:10:04 +01:00
..
clean rustdoc: Fix visibility of trait and impl items 2021-01-22 18:30:30 -08:00
doctest Remove unnecessary semicolon from Rustdoc-generated code 2020-12-29 16:30:02 -05:00
formats Rollup merge of #81275 - jyn514:time-render, r=wesleywiser 2021-01-23 20:16:10 +01:00
html Rollup merge of #81302 - LeSeulArtichaut:80777-trait-render, r=jyn514 2021-01-24 22:10:04 +01:00
json Rollup merge of #81275 - jyn514:time-render, r=wesleywiser 2021-01-23 20:16:10 +01:00
passes Fix rustc::internal lints on rustdoc 2021-01-21 22:25:59 -05:00
theme Add test to check if minified theme are handled correctly 2020-02-12 15:49:39 +01:00
Cargo.toml Simplfy color availability check 2020-11-17 10:33:14 +01:00
config.rs Rollup merge of #81264 - Swatinem:doctest-run-directory, r=jyn514 2021-01-24 22:09:59 +01:00
core.rs Rollup merge of #80372 - jyn514:fix-panics, r=Manishearth 2021-01-08 11:11:41 +09:00
docfs.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
doctest.rs Rollup merge of #81264 - Swatinem:doctest-run-directory, r=jyn514 2021-01-24 22:09:59 +01:00
doctree.rs Move StructType to clean, remove it from Unions, make JSON output whether something is a union 2021-01-20 16:46:34 -05:00
error.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
externalfiles.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
fold.rs Rename VariantKind -> Variant 2021-01-15 13:55:03 -05:00
lib.rs Rollup merge of #81264 - Swatinem:doctest-run-directory, r=jyn514 2021-01-24 22:09:59 +01:00
markdown.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
theme.rs Replace under-used ImplPolarity enum with a boolean 2021-01-09 14:59:37 +01:00
visit_ast.rs Remove doctree::Import 2021-01-15 12:49:45 -05:00
visit_lib.rs Make all rustdoc functions and structs crate-private 2020-11-15 11:21:12 -05:00

For more information about how librustdoc works, see the rustc dev guide.