about summary refs log tree commit diff
path: root/src/test/rustdoc-js
AgeCommit message (Collapse)AuthorLines
2023-01-11Move /src/test to /testsAlbert Larsan-1300/+0
2022-10-30Add regression test for reexports in search resultsGuillaume Gomez-0/+28
2022-05-31rustdoc: also index raw pointersMichael Howell-0/+79
Co-authored-by: Noah Lev <camelidcamel@gmail.com>
2022-05-31rustdoc: also index impl traitMichael Howell-0/+72
2022-05-25Adjust test case to account for 6c8a2d4Michael Howell-2/+2
2022-05-25rustdoc: include impl generics / self in search indexMichael Howell-0/+92
2022-05-12rustdoc: fix GUI crash when searching for magic JS property valuesMichael Howell-0/+20
2022-05-11Rollup merge of #96887 - notriddle:notriddle/as-raw-fd, r=jshaYuki Okushi-0/+22
rustdoc: correct path to type alias methods Fixes #83991
2022-05-10rustdoc: clean up method path indexMichael Howell-0/+22
This removes a special case that doesn't seem to do anything any more.
2022-05-09rustdoc: search result ranking fixMichael Howell-0/+23
2022-04-18Improve documentation and add some explanations in the codeGuillaume Gomez-1/+1
2022-04-18* Greatly improve the rustdoc search parser source codeGuillaume Gomez-22/+22
* Move all functions outside parseQuery
2022-04-18* If type filter is in quotes, throw an error.Guillaume Gomez-2/+2
* If there are generics, don't allow to have quotes.
2022-04-18Add parser testsGuillaume Gomez-6/+4
2022-04-18Update testsGuillaume Gomez-25/+64
2022-01-26rustdoc: add test case for multiple traits and erased namesMichael Howell-0/+44
https://github.com/rust-lang/rust/pull/92339#discussion_r792805289
2021-11-28Fix warnings in rustdoc JS testsNoah Lev-0/+2
2021-10-29Fix invalid handling of genericsGuillaume Gomez-4/+23
2021-07-01fix(rustdoc): generics searchMichael Howell-0/+96
This commit adds a test case for generics, re-adds generics data to the search index, and tweaks function indexing to use less space in JSON. This reverts commit 14ca89446c076bcf484d3d05bd991a4b7985a409.
2021-06-18Update test cases for intra-doc links in summariesMichael Howell-3/+5
2021-02-01Add test for primitive searchGuillaume Gomez-0/+30
2020-12-03Add more rustdoc-js test casesCamelid-6/+20
2020-12-03Add rustdoc-js testCamelid-1/+26
Finally!
2020-11-25Clean up rustdoc tests by removing unnecessary featuresGuillaume Gomez-8/+0
2020-10-05Add test for whitespace in doc aliasGuillaume Gomez-0/+23
2020-08-12Allow #[doc(alias)] on impl const itemsGuillaume Gomez-3/+17
2020-08-11Remove invalid #[doc(alias)] from doc-alias search-index testGuillaume Gomez-4/+0
2020-06-23rustdoc: Fix doc aliases with crate filteringOliver Middleton-0/+37
Fix a crash when searching for an alias contained in the currently selected filter crate. Also remove alias search results for crates that should be filtered out. The test suite needed to be fixed to actually take into account the crate filtering and check that there are no results when none are expected.
2020-05-14Make current crate aliases go firstGuillaume Gomez-22/+47
2020-05-07Add more tests for doc aliasesGuillaume Gomez-0/+317
2020-02-02Add tests for struct variant field in searchGuillaume Gomez-0/+15
2019-09-04Improve searching in rustdoc and add testsShiqing-0/+162
2019-04-12Auto merge of #59910 - Centril:rollup-yjv7b06, r=Centrilbors-0/+29
Rollup of 15 pull requests Successful merges: - #59680 (Document the -Z flag to the rustc book) - #59711 (Add back the substring test) - #59806 (compiletest: Improve no_prefer_dynamic docs) - #59809 (Make trait_methods_not_found use a lock) - #59811 (Kill dead code dominator code.) - #59814 (Fix broken links on std::boxed doc page) - #59821 (improve unknown enum variant errors) - #59831 (Remove strange formatting in `Ordering` docs.) - #59836 (std::ops::Div examples: correct nominator to numerator) - #59857 (SGX target: fix cfg(test) build) - #59876 (Update TRPL to use mdbook 0.2) - #59880 (Remove note about transmute for float bitpatterns.) - #59889 (Update diagnostics.rs) - #59891 (Fix the link to sort_by_cached_key) - #59894 (save-analysis: Pull associated type definition using `qpath_def`) Failed merges: r? @ghost
2019-04-04Add back the substring testGuillaume Gomez-0/+29
2019-04-02Ensure that exact matches come first in rustdoc searchGuillaume Gomez-0/+76
2019-02-28Move rustdoc-js testing into compiletestGuillaume Gomez-0/+1
2019-02-25Rename rustdoc js test suitesGuillaume Gomez-184/+3
2019-02-09Remove rustdoc test which referenced unstable APIMatthias Einwag-10/+0
2018-12-25Remove licensesMark Rousskov-210/+0
2018-12-03Improve filter testGuillaume Gomez-3/+2
2018-11-28Add test for crate filteringGuillaume Gomez-0/+20
2018-09-18Remove outdated rustdoc PinBox testsTaylor Cramer-21/+0
2018-08-27Auto merge of #53227 - nivkner:pin_move, r=RalfJungbors-3/+3
move the Pin API into its own module for centralized documentation This implements the change proposed by @withoutboats in #49150, as suggested by @RalfJung in the review of #53104, along with the documentation that was originally in it, that was deemed more appropriate in module-level documentation. r? @RalfJung
2018-08-23move PinBox into pin module and export through stdNiv Kaminer-3/+3
2018-08-22Search a substring instead of start of string in rustdoc searchGuillaume Gomez-0/+20
2018-07-20Update stdsimd to undo an accidental stabilizationAlex Crichton-1/+0
Closes #52403
2018-06-29Make raw_vec perma-unstable and hiddenSimon Sapin-1/+0
2018-06-16Fix macro missing from doc searchGuillaume Gomez-0/+20
2018-06-16Add rustdoc-js tester should-fail optionGuillaume Gomez-0/+39
2018-05-12Fix invalid deduplicationGuillaume Gomez-0/+21