about summary refs log tree commit diff
path: root/src/test/rustdoc
AgeCommit message (Collapse)AuthorLines
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
2018-03-28Rollup merge of #49427 - Manishearth:rustdoc-impl-trait-extern, r=GuillaumeGomezkennytm-0/+58
Correctly handle impl trait in external items in rustdoc fixes #49373 r? @QuietMisdreavus
2018-03-28Fix text overlapGuillaume Gomez-12/+12
2018-03-28Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavusbors-0/+46
Rustdoc support for universal_impl_trait Hides type parameters synthesized by `impl Trait`-in-argument-position, and enables links to trait names. <img alt="before" src="https://user-images.githubusercontent.com/7091080/37831646-a61413c6-2ee9-11e8-8ec2-a6137956d922.png" width="450"/> ↓ <img alt="after" src="https://user-images.githubusercontent.com/7091080/37831657-b2ff0ae6-2ee9-11e8-8797-fdad904782bf.png" width="450"/> Fixes #49309
2018-03-27rustdoc: Add test for foreign impl trait with boundsManish Goregaokar-0/+58
2018-03-27Rollup merge of #49333 - GuillaumeGomez:link-assoc-const, r=QuietMisdreavuskennytm-0/+26
Fix impl assoc constant link not working Fixes #49323. r? @QuietMisdreavus
2018-03-26Add tests for items deprecated in the futurevarkor-0/+16
2018-03-26Stabilize conservative_impl_traitTaylor Cramer-2/+0
2018-03-26Stabilize universal_impl_traitTaylor Cramer-1/+0
2018-03-24Fix impl assoc constant link not workingGuillaume Gomez-0/+26
2018-03-24Add test for `impl Trait` in argument positionShotaro Yamada-0/+46
2018-03-22Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, ↵kennytm-0/+18
r=QuietMisdreavus Fix automatic urls with backticks Fixes #49164. r? @QuietMisdreavus
2018-03-21add target_feature items to doc_cfg rustdoc testQuietMisdreavus-0/+24
2018-03-19Fix automatic urls with backticksGuillaume Gomez-0/+18
2018-03-13Rollup merge of #48898 - GuillaumeGomez:remove-empty-section, r=QuietMisdreavuskennytm-0/+20
Remove auto trait implementation section when empty Fixes #48882.
2018-03-09Remove auto trait implementation section when emptyGuillaume Gomez-0/+20
2018-03-09Add missing items in the sidebar for functionsGuillaume Gomez-0/+19
2018-02-28Rollup merge of #48473 - GuillaumeGomez:rustdoc-auto-trait-impl-fix, ↵kennytm-0/+26
r=QuietMisdreavus Fix auto trait impl rustdoc ice Fixes #48463. r? @QuietMisdreavus
2018-02-24Rollup merge of #48415 - QuietMisdreavus:traits-on-traits-on-traits, ↵Manish Goregaokar-0/+36
r=Manishearth rustdoc: don't crash when an external trait's docs needs to import another trait Fixes https://github.com/rust-lang/rust/issues/48414 When resolving intra-paths for an item, rustdoc needs to have information about their items on hand, for proper bookkeeping. When loading a path for an external item, it needs to load these items from their host crate, since their information isn't otherwise available. This includes resolving paths for those docs. which can cause this process to recurse. Rustdoc keeps a map of external traits in a `RefCell<HashMap<DefId, Trait>>`, and it keeps a borrow of this active when importing an external trait. In the linked crash, this led to a RefCell borrow error, panic, and ICE. This PR manually releases the borrow while importing the trait, and also keeps a list of traits being imported at the given moment. The latter keeps rustdoc from infinitely recursing as it tries to import the same trait repeatedly.
2018-02-24Fix auto trait impl rustdoc iceGuillaume Gomez-0/+26
2018-02-21add test for issue 48414 ICEQuietMisdreavus-0/+36