summary refs log tree commit diff
path: root/src/librustdoc/clean
AgeCommit message (Collapse)AuthorLines
2018-06-03rustdoc: hide macro export statements from docsQuietMisdreavus-0/+3
2018-05-07Auto merge of #50305 - GuillaumeGomez:fix-mod-stackoverflow, r=QuietMisdreavusbors-9/+10
Prevent infinite recursion of modules Fixes #50196. r? @QuietMisdreavus
2018-05-07Prevent infinite recursion of modulesGuillaume Gomez-9/+10
2018-05-05Auto merge of #50419 - sinkuu:rustdoc_nested_impl_trait, r=QuietMisdreavusbors-31/+32
rustdoc: Resolve nested `impl Trait`s Fixes #50358. Populates `cx.impl_trait_bounds` incrementally while `clean`ing generic params, so that a synthetic type-parameter can refer to previous ones. cc #50366
2018-05-03rustdoc: Resolve nested `impl Trait`sShotaro Yamada-31/+32
2018-05-02make it compile againflip1995-5/+5
2018-05-02Fix failures in rustdocSeiichi Uchida-179/+63
2018-05-02Remove Option from the return type of Attribute::name()Seiichi Uchida-1/+1
2018-04-29rustdoc: Fix links to constants in external cratesOliver Middleton-0/+1
2018-04-27Rename InternedString to LocalInternedString and introduce a new thread-safe ↵John Kåre Alsaker-8/+8
InternedString
2018-04-26rustc_target: move in syntax::abi and flip dependency.Irina Popa-1/+1
2018-04-24Make Binder's field private and clean up its usageTyler Mandry-8/+8
2018-04-21Add some f32 and f64 inherent methods in libcoreSimon Sapin-0/+2
… previously in the unstable core::num::Float trait. Per https://github.com/rust-lang/rust/issues/32110#issuecomment-379503183, the `abs`, `signum`, and `powi` methods are *not* included for now since they rely on LLVM intrinsics and we haven’t determined yet whether those instrinsics lower to calls to libm functions on any platform.
2018-04-21Replace StrExt with inherent str methods in libcoreSimon Sapin-0/+1
2018-04-21Replace SliceExt with inherent [T] methods in libcoreSimon Sapin-0/+1
2018-04-21Move non-allocating [u8] inherent methods to libcoreSimon Sapin-0/+1
Fixes #45803
2018-04-19Remove HIR inliningWesley Wiser-23/+1
Fixes #49690
2018-04-16Add warning if a resolution failedGuillaume Gomez-0/+8
2018-04-13Use InternedString rather than Name for RegionParameterDefvarkor-4/+4
This makes it consistent with TypeParameterDef.
2018-04-11Rollup merge of #49525 - varkor:sort_by_cached_key-conversion, r=scottmcmkennytm-3/+1
Use sort_by_cached_key where appropriate A follow-up to https://github.com/rust-lang/rust/pull/48639, converting various slice sorting calls to `sort_by_cached_key` when the key functions are more expensive.
2018-04-11Auto merge of #49695 - michaelwoerister:unhygienic-ty-min, r=nikomatsakisbors-3/+11
Use InternedString instead of Symbol for type parameter types (2) Reduced alternative to #49266. Let's see if this causes a performance regression.
2018-04-09Convert sort_unstable_by to sort_by_cached_keyvarkor-3/+1
2018-04-06Use `Ident` instead of `Name` in `MetaItem`Vadim Petrochenkov-42/+43
2018-04-06Remove more duplicated spansVadim Petrochenkov-1/+1
2018-04-06Rename `PathSegment::identifier` to `ident`Vadim Petrochenkov-10/+2
2018-04-06Fix rustdoc after changing type param representation.Michael Woerister-3/+11
2018-04-04Rollup merge of #49603 - ↵kennytm-1/+7
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 #49512 - GuillaumeGomez:intra-links-fields, r=QuietMisdreavuskennytm-3/+22
Add support for variant and types fields for intra links Part of #43466. r? @QuietMisdreavus
2018-04-02Fix url for intra link provided methodGuillaume Gomez-1/+7
2018-03-31Auto merge of #49201 - Phlosioneer:add-trivial-size-hints, r=SimonSapinbors-0/+5
Implement some trivial size_hints for various iterators This also implements ExactSizeIterator where applicable. Addresses most of the Iterator traits mentioned in #23708. I intend to do more, but I don't want to make the PR too large.
2018-03-31Auto merge of #49459 - GuillaumeGomez:primitive-intra-links, r=QuietMisdreavusbors-13/+72
Add primitive intra-links Part of #43466. r? @QuietMisdreavus
2018-03-30Add support for variant and types fields for intra linksGuillaume Gomez-3/+22
2018-03-29Add primitive intra-linksGuillaume Gomez-13/+72
2018-03-29Auto merge of #49313 - sgrif:sg-revert-stuff, r=nikomatsakisbors-2/+0
Remove universes from `ty::ParamEnv` This change was never meant to land. #48407 takes an alternate approach. However, that PR is now blocked on some issues with canonicalization, and rebasing these reverts gets harder each time, so let's just get this bit out of the way now. r? @nikomatsakis
2018-03-28Rollup merge of #49427 - Manishearth:rustdoc-impl-trait-extern, r=GuillaumeGomezkennytm-10/+59
Correctly handle impl trait in external items in rustdoc fixes #49373 r? @QuietMisdreavus
2018-03-28Auto merge of #49304 - sinkuu:impl_trait_rustdoc, r=QuietMisdreavusbors-12/+67
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: Handle explicit ?Sized on foreign impl TraitManish Goregaokar-3/+14
2018-03-27rustdoc: Remove Sized bounds when cleaning foreign impl TraitManish Goregaokar-0/+8
2018-03-27rustdoc: Include associated type bounds when cleaning foreign impl traitsManish Goregaokar-8/+38
2018-03-27rustdoc: Don't use into_iter() when cleaning impl TraitManish Goregaokar-1/+1
2018-03-24Fix impl assoc constant link not workingGuillaume Gomez-8/+6
2018-03-24CleanupShotaro Yamada-1/+2
2018-03-24Resolve `impl Trait` in argument positionShotaro Yamada-10/+51
2018-03-24Hide synthesized type parametersShotaro Yamada-1/+14
2018-03-23Fix rustdocSean Griffin-2/+0
2018-03-22Rollup merge of #49189 - GuillaumeGomez:fix-implied-shortcut-links, ↵kennytm-8/+8
r=QuietMisdreavus Fix automatic urls with backticks Fixes #49164. r? @QuietMisdreavus
2018-03-22Rollup merge of #48759 - QuietMisdreavus:simd-feature-docs, r=GuillaumeGomezkennytm-2/+51
rustdoc: expose #[target_feature] attributes as doc(cfg) flags This change exposes `#[target_feature(enable = "feat")]` attributes on an item as if they were also `#[doc(cfg(target_feature = "feat"))]` attributes. This gives them a banner on their documentation listing which feature is required to use the item. It also modifies the rendering code for doc(cfg) tags to handle `target_feature` tags. I made it print just the feature name on "short" printings (as in the function listing on a module page), and use "target feature `feat`" in the full banner on the item page itself. This way, the function listing in `std::arch` shows which feature is required for each function: ![image](https://user-images.githubusercontent.com/5217170/37003222-f41b9d66-2091-11e8-9656-8719e5b34832.png) ![image](https://user-images.githubusercontent.com/5217170/37003234-feb1a7a2-2091-11e8-94de-6d1d76a2d3ee.png)
2018-03-20Implement some trivial size_hints for various iteratorsPhlosioneer-0/+5
This also implements ExactSizeIterator where applicable. Addresses most of the Iterator traits mentioned in #23708.
2018-03-20Fix tidy trailing whitespacePhlosioneer-2/+2
2018-03-19Fix ordering of auto-generated trait bounds in rustdoc outputPhlosioneer-35/+67
While the order of the where clauses was deterministic, the ordering of bounds and lifetimes was not. This made the order flip- flop randomly when new traits and impls were added to libstd. This PR makes the ordering of bounds and lifetimes deterministic, and re-enables the test that was causing the issue. Fixes #49123