| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-02-24 | Auto merge of #58232 - ljedrz:HirIdification_continued, r=Zoxc | bors | -4/+4 | |
| HirId-ify intravisit A big step towards https://github.com/rust-lang/rust/pull/57578. This affects mostly `hir::{collector, intravisit}` and `rustc::lint`. | ||||
| 2019-02-23 | Fix tidy check errors | Hirokazu Hata | -2/+11 | |
| 2019-02-23 | Transition librustdoc to 2018 edition | Hirokazu Hata | -22/+22 | |
| 2019-02-20 | HirIdification: change some NodeId to HirId calls | ljedrz | -4/+4 | |
| 2019-02-01 | don't try to get a DefId for a Def that doesn't have one | QuietMisdreavus | -2/+5 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-18 | Don't render const keyword on stable | Guillaume Gomez | -1/+1 | |
| 2018-12-06 | Use a function to access the Hir map to be able to turn it into a query later | John Kåre Alsaker | -7/+7 | |
| 2018-10-19 | Prefer `Default::default` over `FxHash*::default` in struct constructors | Oliver Scherer | -1/+1 | |
| 2018-10-19 | Deprecate the `FxHashMap()` and `FxHashSet()` constructor function hack | Oliver Scherer | -1/+1 | |
| 2018-09-26 | add derive macros' helper attributes to doc output | QuietMisdreavus | -1/+7 | |
| 2018-09-25 | disable proc-macro re-export inlining | QuietMisdreavus | -7/+8 | |
| Proc-macros don't emit their attributes or source spans across crates. This means that rustdoc can't actually see the docs of a proc-macro if it wasn't defined in the active crate, and attempting to inline it creates an empty page with no docs or source link. In lieu of attempting to fix that immediately, this commit forces proc-macro re-exports to never inline, which at least creates usable links to complete documentation. | ||||
| 2018-09-25 | handle proc-macros as macros instead of functions | QuietMisdreavus | -31/+34 | |
| 2018-09-20 | shuffle ownership of `external_traits` | QuietMisdreavus | -4/+10 | |
| constraints: - clean/inline.rs needs this map to fill in traits when inlining - fold.rs needs this map to allow passes to fold trait items - html/render.rs needs this map to seed the Cache.traits map of all known traits The first two are the real problem, since `DocFolder` only operates on `clean::Crate` but `clean/inline.rs` only sees the `DocContext`. The introduction of early passes means that these two now exist at the same time, so they need to share ownership of the map. Even better, the use of `Crate` in a rustc thread pool means that it needs to be Sync, so it can't use `Lrc<Lock>` to manually activate thread-safety. `parking_lot` is reused from elsewhere in the tree to allow use of its `ReentrantMutex`, as the relevant parts of rustdoc are still single-threaded and this allows for easier use in that context. | ||||
| 2018-09-20 | refactor: move `access_levels` into RenderInfo | QuietMisdreavus | -2/+2 | |
| 2018-09-20 | collect auto-/blanket-impls during collect-trait-impls | QuietMisdreavus | -21/+7 | |
| 2018-09-20 | don't check visibility when inlining local impls | QuietMisdreavus | -6/+10 | |
| those get handled properly in strip-hidden anyway | ||||
| 2018-09-20 | pull impl generics from HIR if available | QuietMisdreavus | -13/+19 | |
| 2018-09-20 | collect impl items from the HIR if available | QuietMisdreavus | -6/+17 | |
| 2018-09-20 | pull local types from the HIR instead of tcx | QuietMisdreavus | -1/+10 | |
| 2018-09-20 | handle local names when registering FQNs | QuietMisdreavus | -4/+8 | |
| 2018-09-20 | add a bunch of debug prints | QuietMisdreavus | -0/+1 | |
| 2018-09-20 | undo some tweaks to build_impl | QuietMisdreavus | -13/+8 | |
| 2018-09-20 | don't record an external trait if it's not external | QuietMisdreavus | -0/+4 | |
| 2018-09-20 | print local inlined consts via the HIR map | QuietMisdreavus | -1/+5 | |
| 2018-09-20 | rustdoc: collect trait impls as an early pass | QuietMisdreavus | -73/+13 | |
| 2018-09-13 | introduce SelfCtor | F001 | -1/+2 | |
| 2018-08-22 | Replace TyForeign with ForeignTy | varkor | -1/+1 | |
| 2018-08-22 | Rename Def::{Param, Foreign} to Def::{TyParam, TyForeign} | varkor | -1/+1 | |
| 2018-08-22 | Remove Ty prefix from Ty{Foreign|Param} | varkor | -1/+1 | |
| 2018-08-04 | Clean generic impls code | Guillaume Gomez | -7/+19 | |
| 2018-08-03 | Move unused trait functions to inherent functions | Mark Rousskov | -1/+1 | |
| 2018-08-03 | Store concrete crate stores where possible | Mark Rousskov | -1/+1 | |
| 2018-07-28 | Don't display full blanket implementation and put it into its own section | Guillaume Gomez | -0/+1 | |
| 2018-07-22 | Add filter over non generic impls | Guillaume Gomez | -7/+0 | |
| 2018-07-22 | Working generic impl | Guillaume Gomez | -0/+6 | |
| 2018-07-13 | don't panic when you see proc-macros | QuietMisdreavus | -5/+9 | |
| 2018-07-04 | Auto merge of #51611 - QuietMisdreavus:slippery-macros, r=ollie27 | bors | -5/+38 | |
| rustdoc: import cross-crate macros alongside everything else The thrilling conclusion of the cross-crate macro saga in rustdoc! After https://github.com/rust-lang/rust/pull/51425 made sure we saw all the namespaces of an import (and prevented us from losing the `vec!` macro in std's documentation), here is the PR to handle cross-crate macro re-exports at the same time as everything else. This way, attributes like `#[doc(hidden)]` and `#[doc(no_inline)]` can be used to control how the documentation for these macros is seen, rather than rustdoc inlining every macro every time. Fixes https://github.com/rust-lang/rust/issues/50647 | ||||
| 2018-06-28 | Use `Ident`s for associated item definitions in HIR | Vadim Petrochenkov | -1/+1 | |
| Remove emulation of hygiene with gensyms | ||||
| 2018-06-22 | Fix rustdoc and remove default impl for FnHeader | Taylor Cramer | -1/+1 | |
| 2018-06-21 | Parse async fn header. | Without Boats | -3/+6 | |
| This is gated on edition 2018 & the `async_await` feature gate. The parser will accept `async fn` and `async unsafe fn` as fn items. Along the same lines as `const fn`, only `async unsafe fn` is permitted, not `unsafe async fn`.The parser will not accept `async` functions as trait methods. To do a little code clean up, four fields of the function type struct have been merged into the new `FnHeader` struct: constness, asyncness, unsafety, and ABI. Also, a small bug in HIR printing is fixed: it previously printed `const unsafe fn` as `unsafe const fn`, which is grammatically incorrect. | ||||
| 2018-06-20 | use the imported name when rendering an imported macro | QuietMisdreavus | -3/+3 | |
| 2018-06-20 | Make GenericBound explicit | varkor | -5/+5 | |
| 2018-06-20 | Rename ParamBound(s) to GenericBound(s) | varkor | -2/+2 | |
| 2018-06-20 | Use ParamBounds in WhereRegionPredicate | varkor | -1/+1 | |
| 2018-06-20 | Lift bounds into GenericParam | varkor | -2/+2 | |
| 2018-06-17 | rustdoc: import cross-crate macros alongside everything else | QuietMisdreavus | -5/+38 | |
| 2018-06-15 | process cross-crate glob re-exports | QuietMisdreavus | -0/+17 | |
| 2018-05-24 | Rollup merge of #51011 - QuietMisdreavus:duplicitous-macros, r=ollie27 | kennytm | -0/+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-23 | rustdoc: hide macro export statements from docs | QuietMisdreavus | -0/+3 | |
