about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir/pattern/mod.rs
AgeCommit message (Expand)AuthorLines
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
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-2/+2
2023-11-29Add `never_patterns` feature gateNadrieril-0/+2
2023-11-26Clean dead codesr0cky-149/+3
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-8/+8
2023-10-27Propagate half-open ranges through THIRNadrieril-15/+16
2023-10-27Abstract over `PatRange` boundary valueNadrieril-79/+15
2023-10-16Address review commentsMatthew Jasper-20/+27
2023-10-16Fix inline const pattern unsafety checking in THIRMatthew Jasper-3/+10
2023-10-14Use `PatKind::Error` instead of `PatKind::Wild` to report errorsNadrieril-22/+19
2023-10-14Propagate pattern errors via a new `PatKind::Error` variantNadrieril-0/+1
2023-10-11Fix range overflow checkingNadrieril-31/+63
2023-10-11Rework error handling when lowering range endpointsNadrieril-114/+87
2023-09-26Don't store lazyness in DefKindMichael Goulet-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-17/+17
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-6/+6
2023-09-19move ConstValue into mirRalf Jung-3/+3
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-4/+4
2023-09-13make the set of methods between our two Const types more consistentRalf Jung-2/+2
2023-09-13make the eval() functions on our const types return the resulting valueRalf Jung-0/+2
2023-09-03Fix code that now emits unused doc comment warning for expr fieldGurinder Singh-2/+2
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-1/+1
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-20/+18
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-2/+8
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-1/+1
2023-06-02Separate AnonConst from ConstBlock in HIR.Camille GILLOT-11/+4
2023-05-31Inline from_inline_const into its sole call siteOli Scherer-32/+61
2023-05-31Explain and simplify valtree -> mir-const fallbackOli Scherer-7/+9
2023-05-31Remove `lit_to_mir_constant` queryOli Scherer-9/+5