| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-11-29 | Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errors | Matthias Krüger | -0/+1 | |
| Add `never_patterns` feature gate This PR adds the feature gate and most basic parsing for the experimental `never_patterns` feature. See the tracking issue (https://github.com/rust-lang/rust/issues/118155) for details on the experiment. `@scottmcm` has agreed to be my lang-team liaison for this experiment. | ||||
| 2023-11-29 | Add `never_patterns` feature gate | Nadrieril | -0/+1 | |
| 2023-11-28 | Reduce exposure of some things. | Nicholas Nethercote | -1/+1 | |
| 2023-08-06 | lower impl const to bind to host effect param | Deadbeef | -0/+3 | |
| 2023-02-25 | Add ErrorGuaranteed to HIR ExprKind::Err | Michael Goulet | -2/+2 | |
| 2022-12-25 | fix more clippy::style findings | Matthias Krüger | -3/+3 | |
| match_result_ok obfuscated_if_else single_char_add writeln_empty_string collapsible_match iter_cloned_collect unnecessary_mut_passed | ||||
| 2022-11-22 | `rustc_ast_lowering`: remove `ref` patterns | Maybe Waffle | -27/+27 | |
| 2022-11-11 | Introduce `ExprKind::IncludedBytes` | clubby789 | -1/+4 | |
| 2022-10-11 | rustc_hir: Less error-prone methods for accessing `PartialRes` resolution | Vadim Petrochenkov | -1/+1 | |
| 2022-09-08 | Introduce `DotDotPos`. | Nicholas Nethercote | -2/+2 | |
| This shrinks `hir::Pat` from 88 to 72 bytes. | ||||
| 2022-09-06 | Pass ImplTraitContext as &mut to avoid the need of ↵ | Santiago Pastorino | -3/+3 | |
| ImplTraitContext::reborrow later on | ||||
| 2022-09-06 | Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillot | bors | -18/+9 | |
| `BindingAnnotation` refactor * `ast::BindingMode` is deleted and replaced with `hir::BindingAnnotation` (which is moved to `ast`) * `BindingAnnotation` is changed from an enum to a tuple struct e.g. `BindingAnnotation(ByRef::No, Mutability::Mut)` * Associated constants added for convenience `BindingAnnotation::{NONE, REF, MUT, REF_MUT}` One goal is to make it more clear that `BindingAnnotation` merely represents syntax `ref mut` and not the actual binding mode. This was especially confusing since we had `ast::BindingMode`->`hir::BindingAnnotation`->`thir::BindingMode`. I wish there were more symmetry between `ByRef` and `Mutability` (variant) naming (maybe `Mutable::Yes`?), and I also don't love how long the name `BindingAnnotation` is, but this seems like the best compromise. Ideas welcome. | ||||
| 2022-09-05 | Address review comments. | Nicholas Nethercote | -1/+1 | |
| 2022-09-05 | Make `hir::PathSegment::hir_id` non-optional. | Nicholas Nethercote | -1/+2 | |
| 2022-09-05 | Make `hir::PathSegment::res` non-optional. | Nicholas Nethercote | -8/+11 | |
| 2022-09-02 | Refactor and re-use BindingAnnotation | Cameron Steffen | -18/+9 | |
| 2022-08-22 | Migrate all span_err(...) in ast_lowering to SessionDiagnostic | Jean CASPAR | -3/+4 | |
| 2022-08-22 | Migrate ast_lowering::pat to SessionDiagnostic | Jean CASPAR | -24/+9 | |
| 2022-08-11 | Check attributes on pattern fields. | Eric Huss | -6/+11 | |
| Attributes on pattern struct fields were not being checked for validity. This adds the fields as HIR nodes so that the `CheckAttrVisitor` can visit those nodes to check their attributes. | ||||
| 2022-06-14 | Make ResolverAstLowering a struct. | Camille GILLOT | -2/+2 | |
| 2022-06-13 | remove unnecessary `to_string` and `String::new` | Takayuki Maeda | -1/+1 | |
| 2022-05-20 | Remove `crate` visibility usage in compiler | Jacob Pratt | -3/+3 | |
| 2022-02-17 | Add more information to `impl Trait` deny error | Michael Goulet | -3/+5 | |
| 2022-01-01 | Move `PatKind::Lit` checking from ast_validation to ast lowering | Aaron Hill | -3/+34 | |
| Fixes #92074 This allows us to insert an `ExprKind::Err` when an invalid expression is used in a literal pattern, preventing later stages of compilation from seeing an unexpected literal pattern. | ||||
| 2021-08-29 | ast_lowering: Introduce `lower_span` for catching all spans entering HIR | Vadim Petrochenkov | -6/+6 | |
| 2021-07-15 | Remove refs from pat slices | Cameron Steffen | -12/+16 | |
| 2021-06-10 | Add support for using qualified paths with structs in expression and pattern | Ryan Levick | -4/+4 | |
| position. | ||||
| 2021-03-16 | ast/hir: Rename field-related structures | Vadim Petrochenkov | -1/+1 | |
| StructField -> FieldDef ("field definition") Field -> ExprField ("expression field", not "field expression") FieldPat -> PatField ("pattern field", not "field pattern") Also rename visiting and other methods working on them. | ||||
| 2020-11-07 | Implement destructuring assignment for tuples | Fabian Zaiser | -2/+7 | |
| Co-authored-by: varkor <github@varkor.com> | ||||
| 2020-10-24 | Loop instead of recursion | Dániel Buga | -71/+79 | |
| 2020-08-30 | mv compiler to compiler/ | mark | -0/+300 | |
