Guillaume Gomez
d5243e3a97
Add test for primitive search
2021-02-01 15:56:51 +01:00
Camelid
f0cf5a974e
Add more rustdoc-js test cases
2020-12-03 14:11:37 -08:00
Camelid
b9035194c0
Add rustdoc-js test
...
Finally!
2020-12-03 14:11:37 -08:00
Guillaume Gomez
d61ea56884
Clean up rustdoc tests by removing unnecessary features
2020-11-25 14:27:51 +01:00
Guillaume Gomez
accc26abc0
Add test for whitespace in doc alias
2020-10-05 16:37:13 +02:00
Guillaume Gomez
fc6fb3fb8f
Allow #[doc(alias)] on impl const items
2020-08-12 11:09:24 +02:00
Guillaume Gomez
9d252ba928
Remove invalid #[doc(alias)] from doc-alias search-index test
2020-08-11 23:21:05 +02:00
Oliver Middleton
478750c1db
rustdoc: Fix doc aliases with crate filtering
...
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-06-23 09:27:37 +01:00
Guillaume Gomez
c4d9318be6
Make current crate aliases go first
2020-05-14 11:36:02 +02:00
Guillaume Gomez
3a0727e84e
Add more tests for doc aliases
2020-05-07 20:08:08 +02:00
Guillaume Gomez
8ee30dbc1b
Add tests for struct variant field in search
2020-02-02 19:18:31 +01:00
Shiqing
cb84aa4744
Improve searching in rustdoc and add tests
2019-09-04 21:27:13 +08:00
bors
5b96425699
Auto merge of #59910 - Centril:rollup-yjv7b06, r=Centril
...
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-12 11:46:01 +00:00
Guillaume Gomez
894142de5d
Add back the substring test
2019-04-04 22:28:52 +02:00
Guillaume Gomez
19073676bf
Ensure that exact matches come first in rustdoc search
2019-04-02 00:09:27 +02:00
Guillaume Gomez
405d950802
Move rustdoc-js testing into compiletest
2019-02-28 18:08:48 +01:00
Guillaume Gomez
aa3ca321e9
Rename rustdoc js test suites
2019-02-25 17:46:06 +01:00
Matthias Einwag
1ef34a5a39
Remove rustdoc test which referenced unstable API
2019-02-09 12:09:12 -08:00
Mark Rousskov
2a663555dd
Remove licenses
2018-12-25 21:08:33 -07:00
Guillaume Gomez
3f253f5394
Improve filter test
2018-12-03 23:05:09 +01:00
Guillaume Gomez
8062c7ae4b
Add test for crate filtering
2018-11-28 19:33:33 +01:00
Taylor Cramer
403d12d696
Remove outdated rustdoc PinBox tests
2018-09-18 01:42:27 -07:00
bors
8c2b371ebc
Auto merge of #53227 - nivkner:pin_move, r=RalfJung
...
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-27 22:56:15 +00:00
Niv Kaminer
971d7ed249
move PinBox into pin module and export through std
2018-08-23 01:37:03 +03:00
Guillaume Gomez
e87b4b3100
Search a substring instead of start of string in rustdoc search
2018-08-22 00:21:08 +02:00
Alex Crichton
d77defcca1
Update stdsimd to undo an accidental stabilization
...
Closes #52403
2018-07-20 22:34:09 -07:00
Simon Sapin
1acbb0a935
Make raw_vec perma-unstable and hidden
2018-06-29 14:01:33 +02:00
Guillaume Gomez
afeb790ea1
Fix macro missing from doc search
2018-06-16 14:14:18 +02:00
Guillaume Gomez
1fcce48451
Add rustdoc-js tester should-fail option
2018-06-16 00:13:28 +02:00
Guillaume Gomez
f2bc09e68b
Fix invalid deduplication
2018-05-12 19:16:37 +02:00
Guillaume Gomez
2c91b49fe4
Add exact-check option to rustdoc-js tests
2018-05-09 19:17:13 +02:00
Guillaume Gomez
d0840fd63b
Fix paths search
2018-05-05 12:44:10 +02:00
kennytm
03a0402dbf
Rollup merge of #50320 - GuillaumeGomez:fix-search-path-generation, r=QuietMisdreavus
...
Fix invalid path generation in rustdoc search
Fixes #50311 .
2018-05-04 04:28:00 +08:00
Guillaume Gomez
a876d28b4a
Fix invalid path generation in rustdoc search
2018-05-03 22:14:37 +02:00
Guillaume Gomez
00bbda16a7
Add query search order check
2018-04-28 17:21:12 +02:00
Guillaume Gomez
d5eade2b94
Add alias tests
2018-04-21 22:02:54 +02:00
Guillaume Gomez
654cb84852
Add specific never search
2018-04-21 22:01:38 +02:00
Guillaume Gomez
47a9ffa573
Add multi-query search
2018-04-14 17:01:28 +02:00
Alex Crichton
1dc85768d2
Merge branch 'rustdoc_masked' of https://github.com/ollie27/rust into rollup
2018-01-26 06:51:58 -08:00
Oliver Middleton
77bc826f90
Fix rustdoc-js test
2018-01-25 17:18:52 +00:00
Guillaume Gomez
7cc3cb29bd
Fix quoted search
2018-01-22 22:49:44 +01:00
Simon Sapin
a2f878a084
Replace Box::{from,into}_unique with {from,into}_nonnull_raw
...
Thew `_raw` prefix is included because the fact that `Box`’s ownership
semantics are "dissolved" or recreated seem more important than the exact
parameter type or return type.
2018-01-20 11:09:22 +01:00
Guillaume Gomez
43acd233b3
Add tester and a few tests
2018-01-12 22:51:34 +01:00
Guillaume Gomez
f18c52b223
Start adding js tests
2018-01-12 22:51:34 +01:00