| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2022-12-06 | Add help for `#![feature(impl_trait_in_fn_trait_return)]` | Josh Stone | -6/+13 | |
| This adds a new variant `ImplTraitContext::FeatureGated`, so we can generalize the help for `return_position_impl_trait_in_trait` to also work for `impl_trait_in_fn_trait_return`. | ||||
| 2022-12-01 | rustc_hir: Change representation of import paths to support multiple resolutions | Vadim Petrochenkov | -16/+5 | |
| 2022-11-24 | Use kw::Empty for elided lifetimes in path. | Camille GILLOT | -1/+1 | |
| 2022-11-22 | `rustc_ast_lowering`: remove `ref` patterns | Maybe Waffle | -4/+4 | |
| 2022-11-17 | Box `ExprKind::{Closure,MethodCall}`, and `QSelf` in expressions, types, and ↵ | Nicholas Nethercote | -1/+1 | |
| patterns. | ||||
| 2022-10-25 | adopt to compiler changes | Maybe Waffle | -1/+1 | |
| 2022-10-25 | Feature gate `impl_trait_in_fn_trait_return` | Maybe Waffle | -1/+4 | |
| 2022-10-25 | Allow `impl Fn() -> impl Trait` in return position | Maybe Waffle | -1/+12 | |
| This allows writing the following function signatures: ```rust fn f0() -> impl Fn() -> impl Trait; fn f3() -> &'static dyn Fn() -> impl Trait; ``` These signatures were already allowed for common traits and associated types, there is no reason why `Fn*` traits should be special in this regard. | ||||
| 2022-10-11 | rustc_hir: Less error-prone methods for accessing `PartialRes` resolution | Vadim Petrochenkov | -4/+6 | |
| 2022-09-14 | Pass ImplTraitContext as &, there's no need for that to be &mut | Santiago Pastorino | -10/+8 | |
| 2022-09-06 | Pass ImplTraitContext as &mut to avoid the need of ↵ | Santiago Pastorino | -8/+10 | |
| ImplTraitContext::reborrow later on | ||||
| 2022-09-05 | Auto merge of #101228 - nnethercote:simplify-hir-PathSegment, r=petrochenkov | bors | -4/+4 | |
| Simplify `hir::PathSegment` r? `@petrochenkov` | ||||
| 2022-09-05 | Rollup merge of #101142 - nnethercote:improve-hir-stats, r=davidtwco | Dylan DPC | -1/+1 | |
| Improve HIR stats #100398 improve the AST stats collection done by `-Zhir-stats`. This PR does the same for HIR stats collection. r? `@davidtwco` | ||||
| 2022-09-05 | Make `hir::PathSegment::hir_id` non-optional. | Nicholas Nethercote | -3/+3 | |
| 2022-09-05 | Make `hir::PathSegment::res` non-optional. | Nicholas Nethercote | -1/+1 | |
| 2022-09-01 | Always import all tracing macros for the entire crate instead of piecemeal ↵ | Oli Scherer | -1/+0 | |
| by module | ||||
| 2022-08-29 | Use `&'hir Ty` everywhere. | Nicholas Nethercote | -1/+1 | |
| For consistency, and because it makes HIR measurement simpler and more accurate. | ||||
| 2022-08-22 | Migrate ast_lowering::path to SessionDiagnostic | Jean CASPAR | -15/+8 | |
| 2022-07-06 | Remove `sess` field from LoweringContext. | Camille GILLOT | -2/+2 | |
| 2022-06-21 | Always create parameters for functions-like types. | Camille GILLOT | -29/+22 | |
| 2022-06-17 | Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister | bors | -0/+1 | |
| Split up `Definitions` and `ResolverAstLowering`. Split off https://github.com/rust-lang/rust/pull/95573 r? `@michaelwoerister` | ||||
| 2022-06-15 | Refactor path segment parameter error | EdwinRy | -19/+26 | |
| 2022-06-14 | Make ResolverAstLowering a struct. | Camille GILLOT | -0/+1 | |
| 2022-06-07 | Instrument important fns in AST lowering | Santiago Pastorino | -1/+1 | |
| 2022-05-31 | Remove ImplTraitContext::reborrow | Santiago Pastorino | -9/+7 | |
| 2022-05-31 | Move defs and bounds from Universal to LoweringContext | Santiago Pastorino | -3/+3 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -5/+5 | |
| 2022-04-27 | Create a specific struct for lifetime capture. | Camille GILLOT | -27/+25 | |
| 2022-04-27 | Use LifetimeRes during lowering. | Camille GILLOT | -91/+85 | |
| 2022-04-17 | Lint elided lifetimes in path on the AST. | Camille GILLOT | -35/+4 | |
| 2022-02-17 | Add more information to `impl Trait` deny error | Michael Goulet | -5/+11 | |
| 2022-01-17 | Use Term in ProjectionPredicate | kadmin | -1/+1 | |
| ProjectionPredicate should be able to handle both associated types and consts so this adds the first step of that. It mainly just pipes types all the way down, not entirely sure how to handle consts, but hopefully that'll come with time. | ||||
| 2021-12-27 | Tighten span when suggesting lifetime on path | Michael Goulet | -1/+3 | |
| 2021-12-03 | Rollup merge of #91273 - Badel2:ice-index-str, r=estebank | Matthias Krüger | -9/+13 | |
| Fix ICE #91268 by checking that the snippet ends with a `)` Fix #91268 Previously it was assumed that the last character of `snippet` will be a `)`, so using `snippet.len() - 1` as an index should be safe. However as we see in the test, it is possible to enter that branch without a closing `)`, and it will trigger the panic if the last character happens to be multibyte. The fix is to ensure that the snippet ends with `)`, and skip the suggestion otherwise. | ||||
| 2021-11-30 | Simplify lowering. | Camille GILLOT | -37/+31 | |
| 2021-11-30 | Lint elided lifetimes in path during lifetime resolution. | Camille GILLOT | -19/+3 | |
| 2021-11-26 | Fix ICE #91268 by checking that the snippet ends with a `)` | Badel2 | -9/+13 | |
| 2021-09-20 | Do not store visibility in *ItemRef. | Camille GILLOT | -11/+2 | |
| 2021-09-01 | Compute item_generics_num_lifetimes during resolution. | Camille GILLOT | -9/+2 | |
| 2021-08-29 | ast_lowering: Introduce `lower_span` for catching all spans entering HIR | Vadim Petrochenkov | -7/+15 | |
| 2021-07-19 | Better errors when we don't have implicit statics in trait objects | jackh726 | -0/+1 | |
| 2021-05-12 | Add more precise span informations to generic types | Giacomo Stevanato | -23/+44 | |
| 2021-05-11 | improve diagnosts for GATs | b-naber | -0/+5 | |
| 2021-03-15 | More precise spans for HIR paths | Vadim Petrochenkov | -5/+8 | |
| 2021-02-04 | lowering of generic args in AssocTyConstraint | b-naber | -2/+5 | |
| 2021-01-14 | Use Option::map_or instead of `.map(..).unwrap_or(..)` | LingMan | -1/+1 | |
| 2021-01-10 | Rework diagnostics for wrong number of generic args | Patryk Wychowaniec | -3/+3 | |
| 2020-10-30 | Implement rustc side of report-future-incompat | Aaron Hill | -2/+2 | |
| 2020-10-30 | Fix some more clippy warnings | Joshua Nelson | -4/+2 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+433 | |
