| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-10-10 | Move lifetime resolution module to rustc_hir_analysis. | Camille GILLOT | -1899/+0 | |
| 2022-10-10 | Rollup merge of #102323 - Stoozy:master, r=cjgillot | Yuki Okushi | -2/+31 | |
| Trying to suggest additional lifetime parameter ``@cjgillot`` This is what I have so far for #100615 | ||||
| 2022-10-09 | ImplItemKind::TyAlias => ImplItemKind::Type | Michael Goulet | -1/+1 | |
| 2022-10-01 | Removed unnecessary for loop | stoozy | -16/+9 | |
| 2022-09-29 | Emitting error regardless of new param suggestion | stoozy | -33/+33 | |
| 2022-09-28 | Proper span for new generic param suggestion | stoozy | -2/+7 | |
| 2022-09-27 | Do not overwrite binders for another HirId. | Camille GILLOT | -20/+35 | |
| 2022-09-27 | Properly formatting the multipart suggestion | stoozy | -1/+1 | |
| 2022-09-26 | Using multipart suggestion | stoozy | -12/+19 | |
| 2022-09-26 | Trying to suggest additional lifetime parameter | stoozy | -8/+32 | |
| 2022-09-24 | separate definitions and `HIR` owners | Takayuki Maeda | -16/+16 | |
| fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)` | ||||
| 2022-09-12 | Remove unused argument from `visit_poly_trait_ref`. | Nicholas Nethercote | -6/+2 | |
| 2022-09-12 | Remove `path_span` argument to the `visit_path_segment` methods. | Nicholas Nethercote | -1/+1 | |
| The `visit_path_segment` method of both the AST and HIR visitors has a `path_span` argument that isn't necessary. This commit removes it. There are two very small and inconsequential functional changes. - One call to `NodeCollector::insert` now is passed a path segment identifier span instead of a full path span. This span is only used in a panic message printed in the case of an internal compiler bug. - Likewise, one call to `LifetimeCollectVisitor::record_elided_anchor` now uses a path segment identifier span instead of a full path span. This span is used to make some `'_` lifetimes. | ||||
| 2022-09-09 | Handle generic parameters. | Camille GILLOT | -5/+1 | |
| 2022-09-09 | Lower RPITIT to ImplTraitPlaceholder item | Michael Goulet | -1/+2 | |
| 2022-09-09 | RPITIT placeholder items | Michael Goulet | -0/+3 | |
| 2022-09-07 | Add instrument and debug calls | Santiago Pastorino | -0/+3 | |
| 2022-09-03 | Do not call object_lifetime_default on lifetime params. | Camille GILLOT | -16/+22 | |
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -1/+1 | |
| by module | ||||
| 2022-09-01 | Directly use the `instrument` macro instead of its full path | Oli Scherer | -8/+8 | |
| 2022-08-31 | Fix a bunch of typo | Dezhi Wu | -1/+1 | |
| This PR will fix some typos detected by [typos]. I only picked the ones I was sure were spelling errors to fix, mostly in the comments. [typos]: https://github.com/crate-ci/typos | ||||
| 2022-08-03 | Assert index sanity. | Camille GILLOT | -2/+7 | |
| 2022-08-03 | Simplify debugging. | Camille GILLOT | -7/+3 | |
| 2022-08-03 | Use DefIdTree instead of open-coding it. | Camille GILLOT | -6/+2 | |
| 2022-08-03 | Remove index from Region::EarlyBound. | Camille GILLOT | -199/+24 | |
| 2022-08-03 | Compute `object_lifetime_default` per parameter. | Camille GILLOT | -84/+24 | |
| 2022-08-03 | Create a specific `ObjectLifetimeDefault` enum. | Camille GILLOT | -73/+39 | |
| 2022-08-03 | Make object_lifetime_defaults a cross-crate query. | Camille GILLOT | -41/+19 | |
| 2022-07-26 | Pacify tidy. | Camille GILLOT | -1/+0 | |
| 2022-07-26 | Stop creating anonymous late lifetimes. | Camille GILLOT | -36/+1 | |
| 2022-07-26 | Remove resolve_elided_lifetimes. | Camille GILLOT | -53/+6 | |
| 2022-07-26 | Stop resolving lifetime elision on HIR. | Camille GILLOT | -425/+52 | |
| 2022-07-26 | Replace LifetimeRes::Anonymous by LifetimeRes::Infer. | Camille GILLOT | -2/+2 | |
| 2022-07-26 | Remove the distinction between LifetimeName::Implicit and ↵ | Camille GILLOT | -4/+4 | |
| LifetimeName::Underscore. | ||||
| 2022-07-25 | Update file description. | Camille GILLOT | -5/+6 | |
| 2022-07-25 | Report elision failures on the AST. | Camille GILLOT | -186/+38 | |
| 2022-07-14 | Rollup merge of #98705 - WaffleLapkin:closure_binder, r=cjgillot | Dylan DPC | -2/+80 | |
| Implement `for<>` lifetime binder for closures This PR implements RFC 3216 ([TI](https://github.com/rust-lang/rust/issues/97362)) and allows code like the following: ```rust let _f = for<'a, 'b> |a: &'a A, b: &'b B| -> &'b C { b.c(a) }; // ^^^^^^^^^^^--- new! ``` cc ``@Aaron1011`` ``@cjgillot`` | ||||
| 2022-07-13 | Add feature gate. | Camille GILLOT | -1/+16 | |
| 2022-07-12 | Add an indirection for closures in `hir::ExprKind` | Maybe Waffle | -1/+4 | |
| This helps bring `hir::Expr` size down, `Closure` was the biggest variant, especially after `for<>` additions. | ||||
| 2022-07-12 | make for<> in closures a possible place to suggest adding named lifetime | Maybe Waffle | -3/+31 | |
| 2022-07-12 | Lower closure binders to hir & properly check them | Maybe Waffle | -1/+48 | |
| 2022-07-05 | Return a FxIndexSet in is_late_bound query. | Camille GILLOT | -2/+2 | |
| This return value is iterated upon by borrowck, hence the need to preserve a deterministic iteration order. | ||||
| 2022-06-22 | Auto merge of #98279 - cjgillot:all-fresh-nofn, r=petrochenkov | bors | -38/+35 | |
| Create elided lifetime parameters for function-like types Split from https://github.com/rust-lang/rust/pull/97720 This PR refactor lifetime generic parameters in bare function types and parenthesized traits to introduce the additional required lifetimes as fresh parameters in a `for<>` bound. This PR does the same to lifetimes appearing in closure signatures, and as-if introducing `for<>` bounds on closures (without the associated change in semantics). r? `@petrochenkov` | ||||
| 2022-06-21 | Use CreateParameter mode for closures too. | Camille GILLOT | -37/+32 | |
| 2022-06-21 | Always create parameters for functions-like types. | Camille GILLOT | -1/+3 | |
| 2022-06-21 | This comment is out dated and misleading | Santiago Pastorino | -3/+0 | |
| Arms are about TAIT and RPIT, as the variants clearly show. | ||||
| 2022-06-06 | Rollup merge of #97312 - cjgillot:no-path-in-scope, r=compiler-errors | Dylan DPC | -97/+8 | |
| Compute lifetimes in scope at diagnostic time The set of available lifetimes is currently computed during lifetime resolution on HIR. It is only used for one diagnostic. In this PR, HIR lifetime resolution just reports whether elided lifetimes are well-defined at the place of use. The diagnostic code is responsible for building a list of lifetime names if elision is not allowed. This will allow to remove lifetime resolution on HIR eventually. | ||||
| 2022-06-04 | Completely remove LifetimeScopeForPath. | Camille GILLOT | -83/+5 | |
| 2022-06-04 | Compute lifetimes in scope at diagnostic time. | Camille GILLOT | -22/+11 | |
| 2022-06-03 | Fail gracefully when encountering an HRTB in APIT. | Camille GILLOT | -7/+64 | |
