about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/auxiliary
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-51/+0
2022-03-01Add test to ensure it does not panic when an intra-doc link is generated ↵Guillaume Gomez-0/+1
from a macro
2021-12-01Use `try_normalize_erasing_regions` instead of a custom infer contextJoshua Nelson-0/+20
This unfortunately is still giving an unsilenceable overflow error :(
2021-11-22fix(doctest): detect extern crate items in statement doctestsMichael Howell-0/+3
This partially reverts #91026, because rustdoc needs to detect the extern statements, even when they appear inside implicit `main()`. It does not entirely revert it, so the old bug is still fixed, by duplicating some of the logic from `parse_mod` instead of trying to use it directly. Fixes #91134
2021-08-22Revert "Revert "Don't load all extern crates unconditionally""Joshua Nelson-0/+17
This reverts commit 5f0c54db4e595a6a77048f2b0605138ffa49a326.
2021-07-01Revert "Don't load all extern crates unconditionally"Guillaume Gomez-17/+0
2021-04-02Don't load all extern crates unconditionallyJoshua Nelson-0/+17
Instead, only load the crates that are linked to with intra-doc links. This doesn't help very much with any of rustdoc's fundamental issues with freezing the resolver, but it at least fixes a stable-to-stable regression, and makes the crate loading model somewhat more consistent with rustc's.
2020-12-31Rustdoc render public underscore_imports as Re-exportsbors-0/+3
Fixes #61592
2020-11-28Move `src/test/rustdoc-ui` intra-doc tests into a subdirectoryJoshua Nelson-4/+0
This also changes the builder to allow using `x.py test src/test/rustdoc-ui/intra-doc`; before, it would panic that no paths were found.
2020-10-09Add test to ensure that external items aren't lint-checkedGuillaume Gomez-0/+4
2020-06-28use outermost invocation span for doctest namesAndy Russell-0/+7
Fixes #70090.