about summary refs log tree commit diff
path: root/src/test/rustdoc
AgeCommit message (Collapse)AuthorLines
2018-06-17Auto merge of #51382 - GuillaumeGomez:intra-link-lint, r=QuietMisdreavusbors-2/+2
Add lint for intra link resolution failure This PR is almost done, just remains this note: ``` note: requested on the command line with `-W intra-link-resolution-failure` ``` I have no idea why my lint is considered as being passed through command line and wasn't able to find where it was set. If anyone has an idea, it'd be very helpful! cc @QuietMisdreavus
2018-06-15process cross-crate glob re-exportsQuietMisdreavus-0/+36
2018-06-14add test for issue 34843QuietMisdreavus-0/+26
2018-06-13Fix rustdoc test failureGuillaume Gomez-2/+2
2018-06-12add test for --extern-html-root-urlQuietMisdreavus-0/+18
2018-06-06rustdoc: Fix missing stability and src links for inlined external macrosOliver Middleton-0/+49
2018-06-05Rollup merge of #51256 - GuillaumeGomez:fix-rustdoc-crate-name, ↵Mark Simulacrum-0/+13
r=QuietMisdreavus Fix crate-name option in rustdoc Fixes #51229. r? @QuietMisdreavus
2018-06-04Fix crate-name option in rustdocGuillaume Gomez-0/+13
2018-06-04Add even more testsGuillaume Gomez-0/+3
2018-06-04Put doc keyword behind feature flagGuillaume Gomez-0/+2
2018-06-04Add doc keyword supportGuillaume Gomez-0/+19
2018-06-03Auto merge of #50953 - GuillaumeGomez:attributes-in-other-places, ↵bors-0/+32
r=QuietMisdreavus Add attributes for trait and methods as well Fixes #48485. r? @QuietMisdreavus
2018-06-02Add attributes for trait and methods as wellGuillaume Gomez-0/+32
2018-06-02Rustdoc itself no longer requires proc macros to buildMark Simulacrum-0/+1
This avoids a full compiler build in order to build and/or run tests for rustdoc.
2018-05-24Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27kennytm-2/+3
rustdoc: hide macro export statements from docs As mentioned in https://github.com/rust-lang/rust/issues/50647, rustdoc now prints both the import statement and the macro itself when re-exporting macros. This is a stopgap solution to clean up the std docs and get something small backported into beta. What this does: When rustdoc finds an export statement for a macro, instead of printing the export and bailing, now it will instead hide the export and bail. Until we can solve https://github.com/rust-lang/rust/issues/34843 or have a better way to find the attributes on an export statement when inlining macros, this will at least match the current behavior and clean up the re-export statements from the docs.
2018-05-23fix @!has conditions in pub-use-extern-macros testQuietMisdreavus-3/+3
2018-05-23update "pub-use-extern-macros" test to hide the regular import statementQuietMisdreavus-0/+1
2018-05-18Auto merge of #50533 - GuillaumeGomez:rustdoc-prim-auto, r=QuietMisdreavusbors-0/+17
add auto-impl for primitive type Part of #50431. I have no clue how to test this though with the rustdoc test suite... r? @QuietMisdreavus
2018-05-16Fix rustdoc panic with `impl Trait` in type parametersShotaro Yamada-1/+13
2018-05-15add auto-impl for primitive typeGuillaume Gomez-0/+17
2018-05-12rustdoc: Add support for pub(restricted)Oliver Middleton-0/+44
2018-05-07Auto merge of #50305 - GuillaumeGomez:fix-mod-stackoverflow, r=QuietMisdreavusbors-0/+37
Prevent infinite recursion of modules Fixes #50196. r? @QuietMisdreavus
2018-05-07Prevent infinite recursion of modulesGuillaume Gomez-0/+37
2018-05-03rustdoc: Resolve nested `impl Trait`sShotaro Yamada-0/+7
2018-05-01Fix an error from "unused" lint + Fix rebaseVadim Petrochenkov-1/+1
2018-05-01Remove `macro_reexport`Vadim Petrochenkov-7/+4
It's subsumed by `feature(use_extern_macros)` and `pub use`
2018-04-29rustdoc: Fix links to constants in external cratesOliver Middleton-0/+103
2018-04-21Replace StrExt with inherent str methods in libcoreSimon Sapin-1/+1
2018-04-17Rollup merge of #50032 - ollie27:rustdoc_all_private, r=GuillaumeGomezGuillaume Gomez-0/+8
rustdoc: Don't include private paths in all.html For example the `std` [`all.html`](https://doc.rust-lang.org/nightly/std/all.html) includes references to the `coresimd` module which is a private implementation detail. r? @GuillaumeGomez
2018-04-13add -C parameter to rustdocQuietMisdreavus-0/+21
2018-04-13rustdoc: Don't include private paths in all.htmlOliver Middleton-0/+8
2018-04-12add test for using target features in doctestsQuietMisdreavus-0/+31
2018-04-10Auto merge of #49504 - GuillaumeGomez:doc-all-types, r=QuietMisdreavusbors-0/+30
Add page to list all crate's items r? @QuietMisdreavus
2018-04-06Auto merge of #49335 - ↵bors-0/+15
GuillaumeGomez:remove-unneeded-trait-implementations-title, r=QuietMisdreavus Remove unneeded trait implementations titles r? @QuietMisdreavus
2018-04-04Rollup merge of #49603 - ↵kennytm-0/+25
GuillaumeGomez:fix-intra-link-trait-provided-method, r=QuietMisdreavus Fix url for intra link provided method Fixes #49582. r? @QuietMisdreavus
2018-04-04Rollup merge of #49532 - Phlosioneer:32556-rustdoc-regression-test, ↵kennytm-0/+15
r=GuillaumeGomez Add test for rustdoc ignore test This will check for regression on issue #32556
2018-04-04Rollup merge of #49512 - GuillaumeGomez:intra-links-fields, r=QuietMisdreavuskennytm-0/+33
Add support for variant and types fields for intra links Part of #43466. r? @QuietMisdreavus
2018-04-04Rollup merge of #49179 - varkor:future-deprecation, ↵kennytm-0/+16
r=QuietMisdreavus,GuillaumeGomez Handle future deprecation annotations This adds special handling to the `since` parameter of the `deprecated` attribute: in particular, if the `since` version exceeds the version of the compiler, the deprecation notice will not be printed; but a note is added to the documentation stating that the item will be deprecated in a later version. (I've used `since` for this, rather than adding a new attribute, because it's more seamless and, I feel, intuitive. Plus it involves less code churn.) ![image](https://user-images.githubusercontent.com/3943692/37611317-ef5cdf16-2b99-11e8-8251-e35e8f7b0137.png) ![image](https://user-images.githubusercontent.com/3943692/37611323-f748c2d0-2b99-11e8-966b-11408c73d416.png) This is a prerequisite for doing things renaming methods in the standard library (e.g. #30459). Resolves #30785.
2018-04-04Add test for all.htmlGuillaume Gomez-0/+30
2018-04-02Fix url for intra link provided methodGuillaume Gomez-0/+25
2018-03-31Shorten deprecation notevarkor-1/+1
2018-03-31Add ignore reasonPhlosioneer-1/+1
2018-03-31Remove whitespacePhlosioneer-2/+2
2018-03-31Fix tidy trailing newlinesPhlosioneer-2/+0
2018-03-31Add test for rustdoc ignore testPhlosioneer-0/+17
This will check for regression on issue #32556
2018-03-31Auto merge of #49459 - GuillaumeGomez:primitive-intra-links, r=QuietMisdreavusbors-0/+19
Add primitive intra-links Part of #43466. r? @QuietMisdreavus
2018-03-30Add support for variant and types fields for intra linksGuillaume Gomez-0/+33
2018-03-29Remove unneeded trait implementations titlesGuillaume Gomez-0/+15
2018-03-29Add primitive intra-linksGuillaume Gomez-0/+19
2018-03-28Rollup merge of #49442 - GuillaumeGomez:text-overlap, r=QuietMisdreavuskennytm-12/+12
Fix text overlap Fixes #49006. r? @QuietMisdreavus