| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-03-30 | rustc -> rustc_middle part 1 | Mazdak Farrokhzad | -44264/+0 | |
| 2020-03-30 | Auto merge of #70449 - ecstatic-morse:visit-body, r=oli-obk | bors | -7/+7 | |
| Make `Visitor::visit_body` take a plain `&Body` `ReadOnlyBodyAndCache` has replaced `&Body` in many parts of the code base that don't care about basic block predecessors. This includes the MIR `Visitor` trait, which I suspect resulted in many unnecessary changes in #64736. This reverts part of that PR to reduce the number of places where we need to pass a `ReadOnlyBodyAndCache`. In the long term, we should either give `ReadOnlyBodyAndCache` more ergonomic name and replace all uses of `&mir::Body` with it at the cost of carrying an extra pointer everywhere, or use it only in places that actually need access to the predecessor cache. Perhaps there is an even nicer alternative. r? @Nashenas88 | ||||
| 2020-03-29 | Rollup merge of #69702 - anyska:tylayout-rename, r=oli-obk | Dylan DPC | -33/+43 | |
| Rename TyLayout to TyAndLayout. | ||||
| 2020-03-29 | Make `Visitor::visit_body` take a simple `Body` | Dylan MacKenzie | -7/+7 | |
| 2020-03-29 | Auto merge of #70370 - petrochenkov:nosmatch, r=Centril | bors | -1/+1 | |
| Remove attribute `#[structural_match]` and any references to it A small remaining part of https://github.com/rust-lang/rust/issues/63438. | ||||
| 2020-03-28 | use machine_ prefix for target usize/isize | Ralf Jung | -2/+2 | |
| 2020-03-28 | rename Scalar::{ptr_null -> null_ptr} | Ralf Jung | -1/+1 | |
| 2020-03-28 | Auto merge of #70483 - Centril:rollup-slli4yf, r=Centril | bors | -15/+21 | |
| Rollup of 5 pull requests Successful merges: - #70345 (Remove `no_integrated_as` mode.) - #70434 (suggest `;` on expr `mac!()` which is good as stmt `mac!()`) - #70457 (non-exhastive diagnostic: add note re. scrutinee type) - #70478 (Refactor type_of for constants) - #70480 (clarify hir_id <-> node_id method names) Failed merges: r? @ghost | ||||
| 2020-03-27 | Auto merge of #70162 - cjgillot:split_query, r=Zoxc | bors | -1510/+93 | |
| Move the query system to a dedicated crate The query system `rustc::ty::query` is split out into the `rustc_query_system` crate. Some commits are unformatted, to ease rebasing. Based on #67761 and #69910. r? @Zoxc | ||||
| 2020-03-27 | Rename TyLayout to TyAndLayout. | Ana-Maria Mihalache | -33/+43 | |
| 2020-03-27 | clarify hir_id <-> node_id method names | Bastian Kauschke | -15/+21 | |
| 2020-03-27 | Implement HashStable directly. | Camille GILLOT | -2/+0 | |
| 2020-03-27 | Cleanups. | Camille GILLOT | -10/+10 | |
| 2020-03-27 | Remove the QueryGetter trait. | Camille GILLOT | -2/+2 | |
| 2020-03-27 | Auto merge of #69470 - mati865:deps, r=Mark-Simulacrum | bors | -1/+1 | |
| Upgrade rustc and bootstrap dependencies | ||||
| 2020-03-27 | Auto merge of #68404 - Amanieu:llvm-asm, r=estebank | bors | -7/+7 | |
| Rename asm! to llvm_asm! As per https://github.com/rust-lang/rfcs/pull/2843, this PR renames `asm!` to `llvm_asm!`. It also renames the compiler's internal `InlineAsm` data structures to `LlvmInlineAsm` in preparation for the new `asm!` functionality specified in https://github.com/rust-lang/rfcs/pull/2850. This PR doesn't actually deprecate `asm!` yet, it just makes it redirect to `llvm_asm!`. This is necessary because we first need to update the submodules (in particular stdarch) to use `llvm_asm!`. | ||||
| 2020-03-27 | Rollup merge of #70344 - Centril:hir-pretty, r=eddyb | Dylan DPC | -41/+24 | |
| Decouple `rustc_hir::print` into `rustc_hir_pretty` High level summary: - The HIR pretty printer, `rustc_hir::print` is moved into a new crate `rustc_hir_pretty`. - `rustc_ast_pretty` and `rustc_errors` are dropped as `rustc_hir` dependencies. - The dependence on HIR pretty is generally reduced, leaving `rustc_save_analysis`, `rustdoc`, `rustc_metadata`, and `rustc_driver` as the remaining clients. The main goal here is to reduce `rustc_hir`'s dependencies and its size such that it can start and finish earlier, thereby working towards https://github.com/rust-lang/rust/issues/65031. r? @Zoxc | ||||
| 2020-03-26 | Rename asm! to llvm_asm! | Amanieu d'Antras | -7/+7 | |
| asm! is left as a wrapper around llvm_asm! to maintain compatibility. | ||||
| 2020-03-26 | Upgrade rustc and bootstrap dependencies | Mateusz Mikuła | -1/+1 | |
| 2020-03-26 | Rollup merge of #70411 - ogoffart:fix-62691, r=eddyb | Mazdak Farrokhzad | -13/+14 | |
| Fix for #62691: use the largest niche across all fields fixes #62691 (The second commit is a small optimization but it makes the code less pretty and i don't know if it is worth it.) | ||||
| 2020-03-26 | Reorganize a bit the code and add a comment | Olivier Goffart | -4/+10 | |
| 2020-03-26 | Don't allow access to the Session. | Camille GILLOT | -3/+5 | |
| 2020-03-26 | Rename read_query_job -> current_query_job and simplify it. | Camille GILLOT | -2/+2 | |
| 2020-03-26 | Move generics on QueryCache. | Camille GILLOT | -3/+3 | |
| 2020-03-26 | Retire DepGraphSafe and HashStableContext. | Camille GILLOT | -28/+0 | |
| 2020-03-26 | Rustfmt. | Camille GILLOT | -2/+7 | |
| 2020-03-26 | Make librustc compile. | Camille GILLOT | -7/+773 | |
| 2020-03-26 | Move query system to librustc_query_system. | Camille GILLOT | -2304/+0 | |
| 2020-03-26 | Make get_query into an extension trait. | Camille GILLOT | -29/+55 | |
| 2020-03-26 | Generalise Query starting. | Camille GILLOT | -75/+118 | |
| 2020-03-26 | Generalise JobOwner::try_start. | Camille GILLOT | -18/+13 | |
| 2020-03-26 | Generalise try_get_cached. | Camille GILLOT | -11/+17 | |
| 2020-03-26 | Move HashStable bound to the trait definition. | Camille GILLOT | -10/+4 | |
| 2020-03-26 | Parametrise by try_collect_active_jobs. | Camille GILLOT | -69/+78 | |
| 2020-03-26 | Generalise QueryLatch. | Camille GILLOT | -10/+20 | |
| 2020-03-26 | Decouple from DepKind. | Camille GILLOT | -12/+18 | |
| 2020-03-26 | Generalise QueryJobId. | Camille GILLOT | -30/+30 | |
| 2020-03-26 | Make QueryContext a subtrait of DepContext. | Camille GILLOT | -7/+9 | |
| 2020-03-26 | Make QueryCache generic on the context. | Camille GILLOT | -46/+50 | |
| 2020-03-26 | Make QueryDescription parameter a type. | Camille GILLOT | -25/+38 | |
| 2020-03-26 | Make QueryAccessor argument a type. | Camille GILLOT | -89/+127 | |
| 2020-03-26 | Make QueryConfig argument a type. | Camille GILLOT | -7/+5 | |
| 2020-03-26 | Rollup merge of #70375 - RalfJung:check-defined-err, r=oli-obk | Mazdak Farrokhzad | -5/+11 | |
| avoid catching InterpError Avoid raising and then capturing `InterpError` for the definedness check. Cc https://github.com/rust-lang/rust/issues/69297 r? @oli-obk | ||||
| 2020-03-26 | Rollup merge of #69866 - estebank:guess_head_span, r=eddyb | Mazdak Farrokhzad | -3/+6 | |
| Rename `def_span` to `guess_head_span` r? @eddyb | ||||
| 2020-03-25 | Rename `def_span` to `guess_head_span` | Esteban Küber | -3/+6 | |
| 2020-03-26 | Revert previous commit and make the optimisation in a nicer way | Olivier Goffart | -19/+6 | |
| 2020-03-26 | avoid catching InterpError | Ralf Jung | -5/+11 | |
| 2020-03-25 | Rollup merge of #69700 - anyska:layout-details-rename, r=oli-obk | Dylan DPC | -53/+46 | |
| Rename LayoutDetails to just Layout. | ||||
| 2020-03-25 | Optimize slightly by avoiding to call Niche::reserve when not needed | Olivier Goffart | -7/+18 | |
| 2020-03-25 | Fix for #62691: use the largest niche across all fields | Olivier Goffart | -14/+11 | |
| fixes #62691 | ||||
