| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-26 | rustdoc: Remove default keyword from re-exported trait methods | Oliver Middleton | -1/+5 | |
| 2019-04-06 | Rollup merge of #58894 - GuillaumeGomez:invalid-lifetime-bounds, r=estebank | Mazdak Farrokhzad | -10/+10 | |
| Fix invalid bounds string generation in rustdoc Fixes #58737. Very weird and I'm not sure this is the best fix around. However, trying to fix it beforehand seems overly complicated compared to the gain (in `clean`, it wouldn't change anything since we **have to** return something so that wouldn't work, and in `hir`, I'm afraid I'd break something else for very little gain). Also, I wasn't able to make a small code to reproduce the issue. The only way to test is to document `crossbeam` directly and check the `Scope` struct... r? @QuietMisdreavus | ||||
| 2019-03-31 | Fix invalid bounds string generation in rustdoc | Guillaume Gomez | -10/+10 | |
| 2019-03-30 | Rollup merge of #59539 - GuillaumeGomez:rustdoc-infinite-recursion, r=eddyb | Mazdak Farrokhzad | -5/+9 | |
| Fix infinite recursion Temporary fix for #59502. r? @eddyb | ||||
| 2019-03-30 | Fix infinite recursion | Guillaume Gomez | -5/+9 | |
| 2019-03-30 | Rollup merge of #59376 - davidtwco:finally-rfc-2008-variants, ↵ | Mazdak Farrokhzad | -0/+3 | |
| r=petrochenkov,QuietMisdreavus RFC 2008: Enum Variants Part of #44109. See [Zulip topic](https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/rfc-2008/near/132663140) for previous discussion. r? @petrochenkov cc @nikomatsakis | ||||
| 2019-03-29 | Support non-exhaustive enum variants in rustdoc. | David Wood | -0/+3 | |
| This commit adds support for non-exhaustive enum variants in rustdoc, extending the existing support for non-exhaustive enums and structs. | ||||
| 2019-03-28 | Rollup merge of #59413 - Zoxc:hirid, r=oli-obk | Mazdak Farrokhzad | -9/+9 | |
| HirIdify hir::ItemId Version of https://github.com/rust-lang/rust/pull/59092. r? @oli-obk | ||||
| 2019-03-26 | Rollup merge of #59004 - GuillaumeGomez:generics-handling, r=QuietMisdreavus | Guillaume Gomez | -10/+196 | |
| [rustdoc] Improve "in parameters" search and search more generally Fixes #58230. r? @QuietMisdreavus | ||||
| 2019-03-25 | hir: replace NodeId with HirId in ItemId | ljedrz | -9/+9 | |
| 2019-03-24 | Remove `VariantDef::parent_did` | Vadim Petrochenkov | -6/+5 | |
| 2019-03-24 | Remove methods is_struct/is_tuple/is_unit from VariantData | Vadim Petrochenkov | -6/+5 | |
| 2019-03-24 | Separate variant id and variant constructor id. | David Wood | -9/+8 | |
| This commit makes two changes - separating the `NodeId` that identifies an enum variant from the `NodeId` that identifies the variant's constructor; and no longer creating a `NodeId` for `Struct`-style enum variants and structs. Separation of the variant id and variant constructor id will allow the rest of RFC 2008 to be implemented by lowering the visibility of the variant's constructor without lowering the visbility of the variant itself. No longer creating a `NodeId` for `Struct`-style enum variants and structs mostly simplifies logic as previously this `NodeId` wasn't used. There were various cases where the `NodeId` wouldn't be used unless there was an unit or tuple struct or enum variant but not all uses of this `NodeId` had that condition, by removing this `NodeId`, this must be explicitly dealt with. This change mostly applied cleanly, but there were one or two cases in name resolution and one case in type check where the existing logic required a id for `Struct`-style enum variants and structs. | ||||
| 2019-03-23 | Add test | Guillaume Gomez | -21/+15 | |
| 2019-03-23 | cleanup | Guillaume Gomez | -10/+18 | |
| 2019-03-22 | Rollup merge of #59170 - varkor:const-generics-rustdoc, r=QuietMisdreavus,eddyb | Mazdak Farrokhzad | -82/+114 | |
| Add const generics to rustdoc Split out from #53645. This work is a collaborative effort with @yodaldevoid. The `FIXME`s are waiting on a refactor to `LazyConst`. I'll address these in a follow up, but I thought it would be better to implement the rest now to avoid bitrot. r? @QuietMisdreavus | ||||
| 2019-03-21 | Fix invalid returned types generation | Guillaume Gomez | -40/+40 | |
| 2019-03-21 | Add bounds for return types as well | Guillaume Gomez | -9/+35 | |
| 2019-03-21 | Improve bounds search | Guillaume Gomez | -48/+6 | |
| 2019-03-21 | Greatly improve generics handling in rustdoc search | Guillaume Gomez | -10/+210 | |
| 2019-03-21 | Auto merge of #58927 - GuillaumeGomez:default-keyword, r=QuietMisdreavus | bors | -4/+20 | |
| Add default keyword handling in rustdoc Fixes #58898. r? @QuietMisdreavus | ||||
| 2019-03-18 | Rebase over LazyConst changes | varkor | -11/+1 | |
| 2019-03-18 | Rename first_ty_sty to ty_sty | varkor | -4/+4 | |
| 2019-03-18 | Refactor `GenericArgs` to include const generics | varkor | -59/+65 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-18 | Add `GenericArg` | varkor | -0/+17 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-18 | Implement `Clean` for const generics | varkor | -0/+19 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-18 | Rename external_typarams to external_param_names | varkor | -2/+2 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-18 | Rename typarams to param_names | varkor | -20/+20 | |
| Co-Authored-By: Gabriel Smith <yodaldevoid@users.noreply.github.com> | ||||
| 2019-03-17 | Auto merge of #59178 - oli-obk:lazy_const, r=eddyb | bors | -8/+8 | |
| Revert the `LazyConst` PR The introduction of `LazyConst` did not actually achieve the code simplicity improvements that were the main reason it was introduced. Especially in the presence of const generics, the differences between the "levels of evaluatedness" of a constant become less clear. As it can be seen by the changes in this PR, further simplifications were possible by folding `LazyConst` back into `ConstValue`. We have been able to keep all the advantages gained during the `LazyConst` refactoring (like `const_eval` not returning an interned value, thus making all the `match` code simpler and more performant). fixes https://github.com/rust-lang/rust/issues/59209 r? @eddyb @varkor | ||||
| 2019-03-16 | Refactor away `NestedMetaItemKind` | Vadim Petrochenkov | -10/+10 | |
| Remove methods `Attribute::span` and `MetaItem::span` duplicating public fields | ||||
| 2019-03-16 | Rename `MetaItem::ident` to `MetaItem::path` | Vadim Petrochenkov | -5/+5 | |
| 2019-03-16 | syntax: Do not accidentally treat multi-segment meta-items as single-segment | Vadim Petrochenkov | -4/+10 | |
| 2019-03-16 | Revert the `LazyConst` PR | Oliver Scherer | -8/+8 | |
| 2019-03-15 | rustc: provide DisambiguatedDefPathData in ty::print. | Eduard-Mihai Burtescu | -2/+4 | |
| 2019-03-15 | rustc: slice substs in ty::print instead of passing the full ones. | Eduard-Mihai Burtescu | -1/+1 | |
| 2019-03-15 | rustc: remove PrintCx from ty::Print and rely on printers carrying TyCtxt. | Eduard-Mihai Burtescu | -27/+30 | |
| 2019-03-15 | rustc: don't thread existential projections through path_generic_args. | Eduard-Mihai Burtescu | -4/+11 | |
| 2019-03-15 | rustc: make `pretty_path_generic_args`' task as simple as possible. | Eduard-Mihai Burtescu | -3/+2 | |
| 2019-03-15 | rustc: move ty::print::PrintConfig's fields to FmtPrinter. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-03-15 | rustc: don't pass Namespace explicitly, but rather track it in FmtPrinter. | Eduard-Mihai Burtescu | -4/+2 | |
| 2019-03-15 | rustc: support overriding type printing in ty::print::Printer. | Eduard-Mihai Burtescu | -0/+8 | |
| 2019-03-15 | rustc: support overriding region printing in ty::print::Printer. | Eduard-Mihai Burtescu | -0/+8 | |
| 2019-03-15 | rustc: pass ty::print::PrintCx by value. | Eduard-Mihai Burtescu | -17/+37 | |
| 2019-03-15 | rustc: split off most of ty::print::PrintCx's fields into a separate struct. | Eduard-Mihai Burtescu | -3/+3 | |
| 2019-03-15 | rustc: uniformize ty::print's error handling by requiring Result. | Eduard-Mihai Burtescu | -9/+15 | |
| 2019-03-15 | rustc: move `...::<impl ...>` printing into `pretty_path_qualified`. | Eduard-Mihai Burtescu | -2/+7 | |
| 2019-03-15 | rustc: move <...>-less impl path special-case to pretty_path_qualified. | Eduard-Mihai Burtescu | -3/+1 | |
| 2019-03-15 | rustc: merge PrintCx::parameterized and def_path printing. | Eduard-Mihai Burtescu | -2/+24 | |
| 2019-03-15 | rustc: move the contents of ty::item_path to ty::print. | Eduard-Mihai Burtescu | -3/+2 | |
| 2019-03-15 | rustc: rename item_path to def_path (except the module in ty). | Eduard-Mihai Burtescu | -1/+1 | |
