about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src/pat.rs
AgeCommit message (Expand)AuthorLines
2025-08-14Pass the target type down to `parse_attribute_list`Jonathan Brouwer-2/+2
2025-08-09remove `P`Deadbeef-3/+2
2025-06-30Introduce `ByteSymbol`.Nicholas Nethercote-8/+4
2025-05-05Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obkbors-2/+1
2025-04-28We always use the current item as parent, so no need to pass itOli Scherer-2/+1
2025-04-28Add or-patterns to pattern typesOli Scherer-0/+5
2025-03-28Add `{ast,hir,thir}::PatKind::Missing` variants.Nicholas Nethercote-0/+1
2025-03-07Pass `Option<Symbol>` to `def_path_data`/`create_def` methods.Nicholas Nethercote-2/+2
2025-03-06Remove the `Option` part of range ends in the HIROli Scherer-10/+112
2025-02-24Introduce new parsing infrastructure and types for parsed attributesJana Dönszelmann-1/+1
2025-02-11Add a TyPat in the AST to reuse the generic arg lowering logicOli Scherer-69/+11
2025-02-04Allow using named consts in pattern typesOli Scherer-13/+14
2025-02-03Use a different hir type for patterns in pattern types than we use in match p...Oli Scherer-2/+78
2025-01-29Eliminate PatKind::PathOli Scherer-10/+23
2025-01-22Enforce that all spans are lowered in ast loweringOli Scherer-14/+10
2025-01-08Rename PatKind::Lit to ExprOli Scherer-2/+2
2025-01-08Exhaustively handle expressions in patternsOli Scherer-13/+46
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-2/+3
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-13Keep track of patterns that could have introduced a binding, but didn'tEsteban Küber-1/+8
2024-11-24add guard pattern AST nodeMax Niederman-0/+2
2024-10-28more consistent debug_assertionsAdwin White-12/+18
2024-10-28Add duplicate lowering checkAdwin White-2/+2
2024-10-28Lower AST node id only onceAdwin White-19/+39
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-20Conditionally allow lowering RTN (..) in pathsMichael Goulet-1/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+8
2024-04-28Add a note to the ArbitraryExpressionInPattern errorest31-1/+5
2024-04-17Rename `BindingAnnotation` to `BindingMode`Jules Bertholet-1/+1
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-0/+3
2024-02-25Add `ErrorGuaranteed` to `ast::ExprKind::Err`Lieselotte-1/+1
2024-02-25Add `ast::ExprKind::Dummy`Lieselotte-1/+2
2024-02-07No need to take ImplTraitContext by refMichael Goulet-3/+3
2024-01-17Add `PatKind::Err`Lieselotte-0/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-4/+4
2023-12-23bool->enum for ast::PatKind::Struct presence of `..`Alona Enraght-Moony-1/+1
2023-11-29Rollup merge of #118157 - Nadrieril:never_pat-feature-gate, r=compiler-errorsMatthias Krüger-0/+1
2023-11-29Add `never_patterns` feature gateNadrieril-0/+1
2023-11-28Reduce exposure of some things.Nicholas Nethercote-1/+1
2023-08-06lower impl const to bind to host effect paramDeadbeef-0/+3
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-2/+2
2022-12-25fix more clippy::style findingsMatthias Krüger-3/+3
2022-11-22`rustc_ast_lowering`: remove `ref` patternsMaybe Waffle-27/+27
2022-11-11Introduce `ExprKind::IncludedBytes`clubby789-1/+4
2022-10-11rustc_hir: Less error-prone methods for accessing `PartialRes` resolutionVadim Petrochenkov-1/+1
2022-09-08Introduce `DotDotPos`.Nicholas Nethercote-2/+2
2022-09-06Pass ImplTraitContext as &mut to avoid the need of ImplTraitContext::reborrow...Santiago Pastorino-3/+3
2022-09-06Auto merge of #101241 - camsteffen:refactor-binding-annotations, r=cjgillotbors-18/+9
2022-09-05Address review comments.Nicholas Nethercote-1/+1
2022-09-05Make `hir::PathSegment::hir_id` non-optional.Nicholas Nethercote-1/+2