about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2025-03-10Allow int literals for pattern types with int base typesOli Scherer-1/+6
2025-03-09Explain weird quirk in user type annotation loweringMichael Goulet-3/+23
2025-03-09Rollup merge of #138084 - nnethercote:workspace-lints, r=jieyouxuMatthias Krüger-1/+0
2025-03-08Auto merge of #137502 - compiler-errors:global-asm-aint-mir-body, r=oli-obkbors-1/+2
2025-03-08Remove `#![warn(unreachable_pub)]` from all `compiler/` crates.Nicholas Nethercote-1/+0
2025-03-07Rollup merge of #134797 - spastorino:ergonomic-ref-counting-1, r=nikomatsakisMatthias Krüger-4/+92
2025-03-07mir_build: consider privacy when checking for irrefutable patternsMaja Kądziołka-4/+5
2025-03-07Add helper methods checking for "#[non_exhaustive] that's active"Maja Kądziołka-5/+4
2025-03-07Increase recursion_limit in numerous crates.Nicholas Nethercote-0/+1
2025-03-06Add UseCloned trait related codeSantiago Pastorino-26/+46
2025-03-06Generate the right MIR for by use closuresSantiago Pastorino-3/+14
2025-03-06Implement .use keyword as an alias of cloneSantiago Pastorino-1/+58
2025-03-06Construct MIR error body for global_asm correctlyMichael Goulet-1/+2
2025-03-05Make `MatchPairTree::place` non-optionalZalathar-23/+9
2025-03-05Remove the separate simplify step for match-pair treesZalathar-71/+14
2025-03-05Remove `TestCase::Irrefutable`Zalathar-58/+38
2025-03-05Populate pattern bindings/ascriptions while building `MatchPairTree`Zalathar-46/+100
2025-03-05Make `MatchPairTree::for_pattern` push its output node to a vectorZalathar-19/+23
2025-03-05Make `field_match_pairs` push its output nodes to a vectorZalathar-12/+9
2025-03-01Rollup merge of #137686 - nbdd0121:asm_const, r=compiler-errorsMatthias Krüger-6/+14
2025-02-26Handle asm const similar to inline constGary Guo-6/+14
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-7/+3
2025-02-24Fix some `use` items that import more than necessary.Nicholas Nethercote-2/+2
2025-02-23Rollup merge of #137334 - compiler-errors:edition-2024-fresh-2, r=saethlin,tr...Jacob Pratt-6/+6
2025-02-23Rollup merge of #137180 - compiler-errors:sym-regions, r=oli-obkMatthias Krüger-43/+39
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-6/+6
2025-02-22Fix binding mode problemsMichael Goulet-7/+5
2025-02-22Make a fake body to store typeck results for global_asmMichael Goulet-43/+39
2025-02-21Auto merge of #137397 - matthiaskrgr:rollup-ls2pilo, r=matthiaskrgrbors-4/+4
2025-02-21Rollup merge of #137305 - nnethercote:rustc_middle-2, r=lcnrMatthias Krüger-27/+16
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-4/+4
2025-02-21Put a `BlockTailInfo` in `BlockFrame::TailExpr`.Nicholas Nethercote-20/+9
2025-02-21Rename `ClearCrossCrate::assert_crate_local`.Nicholas Nethercote-7/+7
2025-02-20Don't store a redundant span in user-type projectionsZalathar-2/+1
2025-02-20Avoid a useless clone of `UserTypeProjection`Zalathar-5/+2
2025-02-19Rollup merge of #137213 - nnethercote:rm-rustc_middle-mir-tcx, r=compiler-errorsMatthias Krüger-1/+0
2025-02-19Remove `rustc_middle::mir::tcx` module.Nicholas Nethercote-1/+0
2025-02-18Remove scrutinee_hir_id from ExprKind::Matchbjorn3-2/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-11/+9
2025-02-17Rollup merge of #136817 - dianne:clean-and-comment-pat-migration, r=NadrierilMatthias Krüger-114/+205
2025-02-17Rollup merge of #136671 - nnethercote:middle-limits, r=NadrierilMatthias Krüger-14/+6
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-4/+3
2025-02-17Add `pattern_complexity_limit` to `Limits`.Nicholas Nethercote-14/+6
2025-02-14More comments for `lower_inline_const`Zalathar-1/+4
2025-02-14Clarify control-flow in `lower_path`Zalathar-30/+33
2025-02-14Rename `PatCtxt::lower_lit` to `lower_pat_expr`Zalathar-7/+7
2025-02-13Auto merge of #136593 - lukas-code:ty-value-perf, r=oli-obkbors-6/+6
2025-02-13intern valtreesLukas Markeffsky-6/+6
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-10move pattern migration internals to the `migration` moduledianne-66/+114