summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/thir
AgeCommit message (Expand)AuthorLines
2023-03-04Auto merge of #108692 - nnethercote:dont-call-temporary_scope-twice, r=cjgillotbors-4/+2
2023-03-03Don't call `temporary_scope` twice.Nicholas Nethercote-4/+2
2023-03-02Rollup merge of #108516 - clubby789:rustc-box-restrict, r=compiler-errorsMatthias Krüger-1/+31
2023-03-02Restrict `#[rustc_box]` to `Box::new` callsclubby789-1/+31
2023-02-27Auto merge of #108487 - cjgillot:no-typeck-mir, r=oli-obkbors-4/+26
2023-02-27Auto merge of #108493 - cjgillot:thir-print, r=compiler-errorsbors-20/+893
2023-02-26Move THIR printing to rustc_mir_build.Camille GILLOT-20/+893
2023-02-26Access upvars through a query.Camille GILLOT-2/+3
2023-02-26Store the body type in THIR.Camille GILLOT-2/+23
2023-02-25Add ErrorGuaranteed to HIR ExprKind::ErrMichael Goulet-1/+1
2023-02-24Rename many interner functions.Nicholas Nethercote-4/+3
2023-02-17Replace more `mk_foo` calls with `infer_foo`.Nicholas Nethercote-3/+3
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16Auto merge of #108127 - matthiaskrgr:rollup-kpzfc6j, r=matthiaskrgrbors-10/+4
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-10/+4
2023-02-15Add specialized variants of `mk_region`.Nicholas Nethercote-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-4/+6
2023-01-29Rollup merge of #107006 - b-naber:thir-tree, r=jackh726Matthias Krüger-0/+10
2023-01-28Remove `HirId -> LocalDefId` map from HIR.Camille GILLOT-3/+1
2023-01-26previous thir unpretty output through thir-flatb-naber-0/+7
2023-01-26Auto merge of #107328 - matthiaskrgr:rollup-lfqwo0o, r=matthiaskrgrbors-40/+37
2023-01-26Rollup merge of #106978 - mejrs:mir_build3, r=davidtwcoMatthias Krüger-40/+37
2023-01-26Auto merge of #106745 - m-ou-se:format-args-ast, r=oli-obkbors-3/+3
2023-01-26output tree representation for thir-treeb-naber-1/+4
2023-01-23fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo-1/+3
2023-01-17Migrate mir_build's borrow conflictsmejrs-40/+37
2023-01-17tidyWaffle Maybe-16/+15
2023-01-17Don't call closures immediately, use `try{}` blocksMaybe Waffle-19/+15
2023-01-14suggest fix for attempted integer identifier in patternsEzra Shaw-4/+16
2023-01-11Rollup merge of #106097 - mejrs:mir_build2, r=oli-obkMichael Goulet-318/+135
2023-01-12Expand format_args!() in rust_ast_lowering.Mara Bos-3/+3
2023-01-11Translate `Overlap` eagerlymejrs-6/+3
2023-01-11Some cleanup, oopsmejrs-5/+0
2023-01-11Don't recommend `if let` if `let else` worksmejrs-16/+7
2023-01-11Migrate pattern matchingmejrs-178/+88
2023-01-11Migrate usefulness.rsmejrs-4/+21
2023-01-11Migrate deconstruct_pat.rsmejrs-21/+14
2023-01-11Translate const_to_pat.rsmejrs-138/+52
2023-01-11Detect out of bounds range pattern valueEsteban Küber-6/+62
2023-01-04rename get_parent_node to parent_idMichael Goulet-6/+6
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-10/+7
2022-12-17Try to fix ICEmejrs-1/+5
2022-12-17Resolve various merge conflictsmejrs-15/+12
2022-12-17Migrate multiple mut borrows diagnosticTheOddGarlic-7/+7
2022-12-17Migrate borrow of moved value diagnosticTheOddGarlic-17/+7
2022-12-17Migrate irrefutable let pattern diagnosticsTheOddGarlic-57/+13
2022-12-17Migrate pattern bindings with variant name lintTheOddGarlic-22/+10
2022-12-17Migrate leading/trailing irrefutable let pattern diagnosticsTheOddGarlic-25/+10
2022-12-17Migrate lower range bound diagnosticsTheOddGarlic-24/+5