about summary refs log tree commit diff
path: root/src/test/rustdoc/assoc-consts.rs
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-104/+0
2022-11-04rustdoc: add test for cross-crate trait-object typesLeón Orell Valerian Liehr-0/+1
as well as some FIXMEs
2022-09-25rustdoc: update test cases now that code-header is used without in-bandMichael Howell-2/+2
2022-08-13Update `@!has` name in testsNoah Lev-4/+4
2022-07-04rustdoc: censor certain complex unevaluated const exprsLeón Orell Valerian Liehr-0/+4
2022-04-12rustdoc: discr. required+provided assoc consts+tysLeón Orell Valerian Liehr-2/+2
2021-07-25Rustdoc accessibility: use real headers for doc itemsbors-2/+2
Part of #87059 Partially reverts #84703 Preview at: https://notriddle.com/notriddle-rustdoc-test/real-headers/std/index.html
2021-05-30Remove toggle for "undocumented items."Jacob Hoffman-Andrews-4/+2
Per discussion in #84326. For trait implementations, this was misleading: the items actually do have documentation (but it comes from the trait definition). For both trait implementations and trait implementors, this was redundant: in both of those cases, the items are default-hidden by different toggle at the level above. Update tests: Remove XPath selectors that over-specified on details tag, in cases that weren't testing toggles. Add an explicit test for toggles on methods. Rename item-hide-threshold to toggle-item-contents for consistency.
2021-05-02Update testsGuillaume Gomez-2/+4
2019-07-16Update testsGuillaume Gomez-1/+1
2018-12-25Remove licensesMark Rousskov-11/+0
2018-11-02Don't show associated const items by defaultGuillaume Gomez-1/+1
2018-10-22Fix multiple errorsGuillaume Gomez-1/+1
2018-10-21Update failing testGuillaume Gomez-3/+3
2018-10-15rustdoc: Use dyn keyword when rendering dynamic traitsOliver Middleton-1/+1
The dyn keyword has been stable for a while now so rustdoc should start using it.
2018-08-25Update testsGuillaume Gomez-14/+0
2017-07-06remove associated_consts feature gateSean McArthur-1/+0
2017-06-23rustdoc: Fix a few issues with associated constsOliver Middleton-0/+79
* Make sure private consts are stripped. * Don't show a code block for the value if there is none. * Make sure default values are shown in impls. * Make sure docs from the trait are used if the impl has no docs.
2017-05-31rustdoc: Cleanup associated const value renderingOliver Middleton-0/+18
Rather than (ab)using Debug for outputting the type in plain text use the alternate format parameter which already does exactly that. This fixes type parameters for example which would output raw HTML. Also cleans up adding parens around references to trait objects.
2017-02-28Update tests accordinglyGuillaume Gomez-3/+5
2016-02-12Fix associated item identifiersmitaa-1/+1
Search results use the mapping found in `ItemType::to_static_str` for the identifier, which could not be found on the page in the case of associated items.
2015-05-09rustdoc: Add Associated Constants sectionUlrik Sverdrup-0/+1
Section only visible if there are assoc. consts. present.
2015-04-30rustdoc: Fix rendering associated constantsAlex Crichton-0/+25
Associated constants were now showing up for traits and would panic if they were found on an inherent impl. This commit unblocks the nighly builders.