about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern/mod.rs
AgeCommit message (Expand)AuthorLines
2024-12-31add guard patterns to HIR and implement loweringMax Niederman-0/+3
2024-12-17Add the edition guide link from the match 2024 migration lint to the error as...dianne-0/+4
2024-12-17Clarify the match ergonomics 2024 migration lint's outputdianne-7/+18
2024-12-07Auto merge of #133897 - oli-obk:push-lsxrqtqqwmpt, r=jieyouxubors-24/+0
2024-12-05Avoid looking at HIR for inline const pattern literalsOli Scherer-24/+0
2024-12-04Tweak output of some const pattern errorsEsteban Küber-4/+10
2024-11-20Rollup merge of #132708 - estebank:const-as-binding, r=NadrierilMatthias Krüger-12/+30
2024-11-19pattern lowering, yeet `TypingEnv::from_param_env`lcnr-4/+4
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-1/+1
2024-11-17review commentsEsteban Küber-20/+18
2024-11-17Unify expanded constants and named constants in `PatKind`Esteban Küber-10/+27
2024-11-17Fold `PatKind::NamedConstant` into `PatKind::Constant`Esteban Küber-9/+4
2024-11-17Point at `const` definition when used instead of a binding in a `let` statementEsteban Küber-2/+10
2024-10-30compiler: Switch to rustc_abi in hir_pretty, lint_defs, and mir_buildJubilee Young-1/+1
2024-10-16Rollup merge of #131381 - Nadrieril:min-match-ergonomics, r=pnkfelixMatthias Krüger-8/+19
2024-10-08Change error messageNadrieril-4/+3
2024-10-08Stabilize `min_match_ergonomics_2024`Nadrieril-1/+1
2024-10-08Error on resetted binding mode in edition 2024Nadrieril-8/+20
2024-09-22Replace calls to Const::eval in mir buildMichael Goulet-1/+3
2024-08-21Use bool in favor of Option<()> for diagnosticsMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+4
2024-07-18avoid creating an Instance only to immediately disassemble it againRalf Jung-31/+2
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-85/+37
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-4/+3
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+2
2024-06-12Use Variance glob import everywhereMichael Goulet-2/+2
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-3/+5
2024-06-05Add `Ty` to `mir::Const::Ty`Boxy-7/+12
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-5/+3
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_mir_build`.Nicholas Nethercote-0/+1
2024-05-13Auto merge of #124914 - nnethercote:rm-extern-crate-rustc_middle, r=saethlinbors-0/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_mir_build`.Nicholas Nethercote-0/+1
2024-05-12Match ergonomics 2024: migration lintJules Bertholet-19/+71
2024-04-20Track mutability of deref patternsNadrieril-1/+3
2024-04-15Ensure inherited reference is never set to `&mut` behind an `&`Jules Bertholet-1/+1
2024-04-02Address review commentsJules Bertholet-7/+7
2024-03-30Implement "&<pat> everywhere"Jules Bertholet-2/+9
2024-03-27Implement `mut ref`/`mut ref mut`Jules Bertholet-17/+5
2024-03-21Implement macro-based deref!() syntax for deref patternsMichael Goulet-1/+1
2024-03-20Add barest-bones deref patternsNadrieril-0/+3
2024-03-18Avoid various uses of `Option<Span>` in favor of using `DUMMY_SP` in the few ...Oli Scherer-5/+4
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-1/+1
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-12/+7
2024-02-21Convert `delayed_bug`s to `bug`s.Nicholas Nethercote-1/+1
2024-02-05get rid of nontrivial_structural_match lint and custom_eq const qualifRalf Jung-12/+6
2024-01-29Stop using `String` for error codes.Nicholas Nethercote-2/+2
2024-01-17Add `PatKind::Err`Lieselotte-0/+2
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-13/+13
2023-12-12more clippy::complexity fixesMatthias Krüger-1/+1
2023-12-11Extract exhaustiveness into its own crateNadrieril-3/+0