| Age | Commit message (Collapse) | Author | Lines |
|
It's subsumed by `feature(use_extern_macros)` and `pub use`
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
Add page to list all crate's items
r? @QuietMisdreavus
|
|
GuillaumeGomez:remove-unneeded-trait-implementations-title, r=QuietMisdreavus
Remove unneeded trait implementations titles
r? @QuietMisdreavus
|
|
GuillaumeGomez:fix-intra-link-trait-provided-method, r=QuietMisdreavus
Fix url for intra link provided method
Fixes #49582.
r? @QuietMisdreavus
|
|
r=GuillaumeGomez
Add test for rustdoc ignore test
This will check for regression on issue #32556
|
|
Add support for variant and types fields for intra links
Part of #43466.
r? @QuietMisdreavus
|
|
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.)


This is a prerequisite for doing things renaming methods in the standard library (e.g. #30459). Resolves #30785.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This will check for regression on issue #32556
|
|
Add primitive intra-links
Part of #43466.
r? @QuietMisdreavus
|
|
|
|
|
|
|
|
Fix text overlap
Fixes #49006.
r? @QuietMisdreavus
|
|
Correctly handle impl trait in external items in rustdoc
fixes #49373
r? @QuietMisdreavus
|
|
|
|
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
|
|
|
|
Fix impl assoc constant link not working
Fixes #49323.
r? @QuietMisdreavus
|
|
|
|
|
|
|
|
|
|
|
|
r=QuietMisdreavus
Fix automatic urls with backticks
Fixes #49164.
r? @QuietMisdreavus
|
|
|
|
|
|
Remove auto trait implementation section when empty
Fixes #48882.
|
|
|
|
|
|
r=QuietMisdreavus
Fix auto trait impl rustdoc ice
Fixes #48463.
r? @QuietMisdreavus
|
|
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.
|
|
|
|
|
|
Fix rustdoc test ICE
Fixes #48377.
r? @QuietMisdreavus
|
|
Implement implied shortcut links for intra-rustdoc-links
cc https://github.com/rust-lang/rust/issues/43466
Needs https://github.com/google/pulldown-cmark/pull/126
r? @QuietMisdreavus
|
|
|
|
This removes the implicit dependency on the iteration
order of FxHashMap
|
|
|