| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-09-19 | fix RPIT ICE for implicit HRTB when missing dyn | Santiago Pastorino | -2/+1 | |
| 2022-09-02 | CTFE: more informative error message on ReadPointerAsBytes trouble | Ralf Jung | -37/+26 | |
| 2022-08-31 | Auto merge of #101050 - pnkfelix:revert-mir-inline-policy-for-beta-1.64, ↵ | bors | -10/+2 | |
| r=compiler-errors revert mir inlining policy for beta-1.64 revert mir inlining policy for beta-1.64 Fix #101004 | ||||
| 2022-08-30 | Auto merge of #99860 - oli-obk:revert_97346, r=pnkfelix | bors | -10/+22 | |
| Revert "Rollup merge of #97346 - JohnTitor:remove-back-compat-hacks, … …r=oli-obk" This reverts commit c703d11dccb4a895c7aead3b2fcd8cea8c483184, reversing changes made to 64eb9ab869bc3f9ef3645302fbf22e706eea16cf. it didn't apply cleanly, so now it works the same for RPIT and for TAIT instead of just working for RPIT, but we should keep those in sync anyway. It also exposed a TAIT bug (see the feature gated test that now ICEs). r? `@pnkfelix` fixes #99536 | ||||
| 2022-08-30 | Rollup merge of #100155 - compiler-errors:issue-100154, r=jackh726 | Dylan DPC | -7/+7 | |
| Use `node_type_opt` to skip over generics that were not expected Fixes #100154 | ||||
| 2022-08-30 | Auto merge of #99893 - compiler-errors:issue-99387, r=davidtwco | bors | -18/+36 | |
| Delay formatting trimmed path until lint/error is emitted Fixes #99387 r? `@davidtwco` | ||||
| 2022-08-26 | revert mir inlining policy for beta-1.64 to resolve issue #101004. | Felix S. Klock II | -10/+2 | |
| 2022-08-15 | Revert let_chains stabilization | Nilstrieb | -46/+72 | |
| This reverts commit 326646074940222d602f3683d0559088690830f4. It was discovered that they are not implemented correctly, which does not make them ready for stabilization. | ||||
| 2022-08-11 | Add docs for get_remapped_def_id | Santiago Pastorino | -0/+13 | |
| 2022-08-11 | Iterate def_ids map backwards to try first the latest mappings (it's a stack) | Santiago Pastorino | -1/+1 | |
| 2022-08-05 | Auto merge of #95977 - FabianWolff:issue-92790-dead-tuple, r=estebank | bors | -27/+142 | |
| Warn about dead tuple struct fields Continuation of #92972. Fixes #92790. The language team has already commented on this in https://github.com/rust-lang/rust/pull/92972#issuecomment-1021511970; I have incorporated their requests here. Specifically, there is now a new allow-by-default `unused_tuple_struct_fields` lint (name bikesheddable), and fields of unit type are ignored (https://github.com/rust-lang/rust/pull/92972#issuecomment-1021815408), so error messages look like this: ``` error: field is never read: `1` --> $DIR/tuple-struct-field.rs:6:21 | LL | struct Wrapper(i32, [u8; LEN], String); | ^^^^^^^^^ | help: change the field to unit type to suppress this warning while preserving the field numbering | LL | struct Wrapper(i32, (), String); | ~~ ``` r? `@joshtriplett` | ||||
| 2022-08-05 | Auto merge of #99867 - spastorino:refactor-remap-lifetimes, r=nikomatsakis | bors | -296/+581 | |
| Split create_def and lowering of lifetimes for opaque types and bare async fns r? `@cjgillot` This work is kind of half-way, but I think it could be merged anyway. I think we should be able to remove all the vacant arms in `new_named_lifetime_with_res`, if I'm not wrong that requires visiting more nodes. We can do that as a follow up. In follow-up PRs, besides the thing mentioned previously, I'll be trying to remove `LifetimeCaptureContext`, `captured_lifetimes` as a global data structure, global `binders_to_ignore` and all their friends :). Also try to remap in a more general way based on def-ids. | ||||
| 2022-08-04 | Rollup merge of #100148 - durin42:llvm-16-pointertype, r=nikic | Matthias Krüger | -1/+6 | |
| RustWrapper: update for TypedPointerType in LLVM This is a result of https://reviews.llvm.org/D130592. r? `@nikic` | ||||
| 2022-08-04 | Rollup merge of #100095 - jackh726:early-binder, r=lcnr | Matthias Krüger | -68/+94 | |
| More EarlyBinder cleanups Each commit is independent r? types | ||||
| 2022-08-04 | Rollup merge of #100093 - wcampbell0x2a:unused-parens-for-match-arms, ↵ | Matthias Krüger | -3/+17 | |
| r=petrochenkov Enable unused_parens for match arms Fixes: https://github.com/rust-lang/rust/issues/92751 Currently I can't get the `stderr` to work with `./x.py test`, but this should fix the issue. Help would be appreciated! | ||||
| 2022-08-04 | Rollup merge of #100058 - ↵ | Matthias Krüger | -8/+67 | |
| TaKO8Ki:suggest-positional-formatting-argument-instead-of-format-args-capture, r=estebank Suggest a positional formatting argument instead of a captured argument This patch fixes a part of #96999. fixes #98241 fixes #97311 r? `@estebank` | ||||
| 2022-08-04 | Rollup merge of #98796 - compiler-errors:no-semi-if-comma, r=estebank | Matthias Krüger | -1/+2 | |
| Do not exclusively suggest `;` when `,` is also a choice Fixes #96791 | ||||
| 2022-08-04 | Fix typo | Santiago Pastorino | -1/+1 | |
| 2022-08-04 | Improve opt_local_def_id docs | Santiago Pastorino | -7/+9 | |
| 2022-08-04 | Improve record_def_id_remap docs | Santiago Pastorino | -1/+4 | |
| 2022-08-04 | Do not collect lifetimes with Infer resolution | Santiago Pastorino | -14/+21 | |
| 2022-08-04 | RustWrapper: update for TypedPointerType in LLVM | Augie Fackler | -1/+6 | |
| This is a result of https://reviews.llvm.org/D130592. | ||||
| 2022-08-04 | Use span_bug instead of panic | Santiago Pastorino | -4/+8 | |
| 2022-08-04 | Add docs to generics_def_id_map | Santiago Pastorino | -1/+4 | |
| 2022-08-04 | Add docs to record_elided_anchor | Santiago Pastorino | -0/+3 | |
| 2022-08-04 | Extract record_elided_anchor | Santiago Pastorino | -18/+13 | |
| 2022-08-04 | Move new_remapping inside with_hir_id_owner | Santiago Pastorino | -1/+2 | |
| 2022-08-04 | Add documentation for create_lifetime_defs | Santiago Pastorino | -0/+4 | |
| 2022-08-04 | Add more debug calls | Santiago Pastorino | -4/+5 | |
| 2022-08-04 | Add documentation about lifetime args | Santiago Pastorino | -0/+2 | |
| 2022-08-04 | Add documentation about lifetime_defs | Santiago Pastorino | -0/+3 | |
| 2022-08-04 | Move hir_bounds after lifetime_defs | Santiago Pastorino | -5/+4 | |
| 2022-08-04 | captures -> collected_lifetimes | Santiago Pastorino | -9/+10 | |
| 2022-08-04 | Move lifetimes_in_bounds call to outside with_hir_id_owner block in ↵ | Santiago Pastorino | -5/+14 | |
| lower_async_fn_ret_ty | ||||
| 2022-08-04 | Move lifetimes_in_bounds call to outside with_hir_id_owner block in ↵ | Santiago Pastorino | -18/+23 | |
| lower_opaque_impl_trait | ||||
| 2022-08-04 | Document what collected_lifetimes vec containts | Santiago Pastorino | -0/+3 | |
| 2022-08-04 | Document lower_opaque_impl_trait | Santiago Pastorino | -0/+29 | |
| 2022-08-04 | with_lifetime_binder is now lower_lifetime_binder and doesn't need a closure | Santiago Pastorino | -55/+52 | |
| 2022-08-04 | Add comments on with_remapping | Santiago Pastorino | -0/+10 | |
| 2022-08-04 | Document opt_local_def_id | Santiago Pastorino | -0/+11 | |
| 2022-08-04 | Document generics_def_id_map field and record/get methods on it | Santiago Pastorino | -1/+8 | |
| 2022-08-04 | Add comments about lifetime collect and create lifetime defs for RPITs | Santiago Pastorino | -0/+8 | |
| 2022-08-04 | Avoid explicitly handling res when is not needed | Santiago Pastorino | -31/+46 | |
| 2022-08-04 | create_and_capture_lifetime_defs -> create_lifetime_defs | Santiago Pastorino | -3/+3 | |
| 2022-08-04 | Remove captured_lifetimes and LifetimeCaptureContext and make ↵ | Santiago Pastorino | -82/+43 | |
| create_lifetime_defs return the captures | ||||
| 2022-08-04 | Implement def_id based remapping | Santiago Pastorino | -107/+140 | |
| 2022-08-04 | Remove local_def_id from captured_lifetimes | Santiago Pastorino | -22/+17 | |
| 2022-08-04 | Capture things as Lifetime object to simplify things | Santiago Pastorino | -49/+59 | |
| 2022-08-04 | Create new_mapping local structure and avoid checking def_ids on captures | Santiago Pastorino | -34/+48 | |
| 2022-08-04 | Remove binders_to_ignore from LifetimeCaptureContext | Santiago Pastorino | -16/+3 | |
