| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-30 | mv compiler to compiler/ | mark | -17373/+0 | |
| 2020-08-27 | Auto merge of #72784 - csmoe:issue-61076, r=estebank | bors | -0/+60 | |
| Await on mismatched future types Closes #61076 This PR suggests to `await` on: 1. `async_fn().bar() => async_fn().await.bar()` 2. `async_fn().field => async_fn().await.field` 3. ` if let x = async() {} => if let x = async().await {}` r? @tmandry @estebank | ||||
| 2020-08-27 | add projection_ty_from_predicates query | csmoe | -11/+1 | |
| 2020-08-26 | suggest await on unexpected types | csmoe | -0/+70 | |
| 2020-08-24 | Stabilize Range[Inclusive]::is_empty | Scott McMurray | -1/+0 | |
| I would like to propose these two simple methods for stabilization: - Knowing that a range is exhaused isn't otherwise trivial - Clippy would like to suggest them, but had to do extra work to disable that path <https://github.com/rust-lang/rust-clippy/issues/3807> because they're unstable - These work on `PartialOrd`, consistently with now-stable `contains`, and are thus more general than iterator-based approaches that need `Step` - They've been unchanged for some time, and have picked up uses in the compiler - Stabilizing them doesn't block any future iterator-based is_empty plans, as the inherent ones are preferred in name resolution | ||||
| 2020-08-18 | Provide better spans for the match arm without tail expression | Wonwoo Choi | -0/+9 | |
| 2020-08-17 | rust_ast::ast => rustc_ast | Ujjwal Sharma | -1/+1 | |
| 2020-08-15 | replaced log with tracing | Gurpreet Singh | -2/+2 | |
| 2020-08-14 | Rollup merge of #75448 - lcnr:rn-as_local_hir_id, r=davidtwco | Tyler Mandry | -7/+11 | |
| merge `as_local_hir_id` with `local_def_id_to_hir_id` `as_local_hir_id` was defined as just calling `local_def_id_to_hir_id` and I think that having two different ways to call the same method is somewhat confusing. Don't really care about which of these 2 methods we want to keep. Does this require an MCP, considering that these methods are fairly frequently used? | ||||
| 2020-08-14 | Rework `rustc_serialize` | Matthew Jasper | -6/+3 | |
| - Move the type parameter from `encode` and `decode` methods to the trait. - Remove `UseSpecialized(En|De)codable` traits. - Remove blanket impls for references. - Add `RefDecodable` trait to allow deserializing to arena-allocated references safely. - Remove ability to (de)serialize HIR. - Create proc-macros `(Ty)?(En|De)codable` to help implement these new traits. | ||||
| 2020-08-13 | merge `as_local_hir_id` with `local_def_id_to_hir_id` | Bastian Kauschke | -7/+11 | |
| 2020-08-10 | Use existing `infcx` when emitting trait impl diagnostic | Aaron Hill | -5/+3 | |
| Fixes #75361 Fixes #74918 Previously, we were creating a new `InferCtxt`, which caused an ICE when used with type variables from the existing `InferCtxt` | ||||
| 2020-08-08 | fix clippy::needless_return: remove unneeded return statements | Matthias Krüger | -2/+2 | |
| 2020-08-08 | fix clippy::clone_on_copy: don't clone types that are copy | Matthias Krüger | -4/+4 | |
| 2020-08-07 | fix clippy::redundant_pattern_matching: use .is_some() instead of if let ↵ | Matthias Krüger | -1/+2 | |
| Some(_) = .. | ||||
| 2020-08-07 | fix clippy::filter_next: use .find(..) instead of .filter(..).next() | Matthias Krüger | -5/+1 | |
| 2020-08-03 | Auto merge of #74969 - nnethercote:rm-GCX_PTR, r=Mark-Simulacrum | bors | -2/+2 | |
| Remove `GCX_PTR`. We store an `ImplicitCtxt` pointer in a thread-local value (TLV). This allows implicit access to a `GlobalCtxt` and some other things. We also store a `GlobalCtxt` pointer in `GCX_PTR`. This is always the same `GlobalCtxt` as the one within the `ImplicitCtxt` pointer in TLV. `GCX_PTR` is only used in the parallel compiler's `handle_deadlock()` function. This commit does the following. - It removes `GCX_PTR`. - It also adds `ImplicitCtxt::new()`, which constructs an `ImplicitCtxt` from a `GlobalCtxt`. `ImplicitCtxt::new()` + `tls::enter_context()` is now equivalent to the old `tls::enter_global()`. - Makes `tls::get_tlv()` public for the parallel compiler, because it's now used in `handle_deadlock()`. r? @petrochenkov | ||||
| 2020-08-03 | Use more appropriate `tls::with_*` methods in some places. | Nicholas Nethercote | -2/+2 | |
| 2020-08-02 | fix typos | liuzhenyu | -3/+3 | |
| 2020-07-31 | Move from `log` to `tracing` | Oliver Scherer | -1/+1 | |
| 2020-07-27 | fix rebase | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | directly contain `PredicateAtom` in `PredicateKind::ForAll` | Bastian Kauschke | -2/+0 | |
| 2020-07-27 | introduce PredicateAtom | Bastian Kauschke | -47/+41 | |
| 2020-07-27 | add reuse_or_mk_predicate | Bastian Kauschke | -4/+3 | |
| 2020-07-27 | refactor query_outlives_constraints_into_obligations | Bastian Kauschke | -13/+6 | |
| 2020-07-27 | this might be unqualified, but at least it's now quantified | Bastian Kauschke | -1/+1 | |
| 2020-07-27 | split ignore_qualifiers | Bastian Kauschke | -18/+15 | |
| 2020-07-27 | review | Bastian Kauschke | -28/+14 | |
| 2020-07-27 | fix elaborate for predicates with unbound variables | Bastian Kauschke | -9/+5 | |
| 2020-07-27 | `PredicateKint` -> `PredicateKind`, the beginning of the end | Bastian Kauschke | -58/+63 | |
| 2020-07-27 | progress | Bastian Kauschke | -3/+3 | |
| 2020-07-27 | elaborate | Bastian Kauschke | -14/+20 | |
| 2020-07-27 | subst_supertrait | Bastian Kauschke | -2/+2 | |
| 2020-07-27 | convert trivial predicates | Bastian Kauschke | -13/+11 | |
| 2020-07-27 | query_outlives_constraints_into_obligations | Bastian Kauschke | -20/+24 | |
| 2020-07-27 | anonymize_predicate | Bastian Kauschke | -22/+15 | |
| 2020-07-23 | fixed error reporting for mismatched traits | Ayrton | -5/+24 | |
| mismatched traits were previously referred to as types | ||||
| 2020-07-22 | Change error code number | Esteban Küber | -2/+2 | |
| 2020-07-22 | Handle fully-qualified paths and add test cases | Esteban Küber | -82/+102 | |
| 2020-07-22 | Partially account for case where used method is from trait | Esteban Küber | -5/+21 | |
| 2020-07-22 | Use `ty::Instance::resolve` to identify `'static` bound source | Esteban Küber | -121/+100 | |
| 2020-07-22 | Further tweak wording of E0759 and introduce E0767 | Esteban Küber | -29/+78 | |
| 2020-07-22 | Add more context to diagnostic | Esteban Küber | -14/+64 | |
| 2020-07-22 | Increase accuracy of lifetime bound on trait object impl suggestion | Esteban Küber | -70/+159 | |
| 2020-07-22 | Detect when `'static` obligation might come from an `impl` | Esteban Küber | -195/+270 | |
| Address #71341. | ||||
| 2020-07-17 | Auto merge of #72983 - Lezzz:rename-typeck, r=nikomatsakis | bors | -28/+38 | |
| Rename TypeckTables to TypeckResults. Originally suggested by @eddyb. | ||||
| 2020-07-17 | Rename TypeckTables to TypeckResults. | Valentin Lazureanu | -28/+38 | |
| 2020-07-16 | apply bootstrap cfgs | Mark Rousskov | -1/+0 | |
| 2020-07-15 | improve naming | Bastian Kauschke | -1/+1 | |
| 2020-07-15 | const_eval_resolve | Bastian Kauschke | -2/+2 | |
