about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2023-08-15Rollup merge of #114819 - estebank:issue-78124, r=compiler-errorsMatthias Krüger-6/+9
2023-08-15Deny FnDef in patternsMichael Goulet-1/+6
2023-08-14Move scrutinee `HirId` into `MatchSource::TryDesugar`Esteban Küber-6/+9
2023-08-14Remove unnecessary FIXMEouz-a-1/+0
2023-08-08Rollup merge of #114566 - fmease:type-alias-laziness-is-crate-specific, r=oli...Matthias Krüger-1/+1
2023-08-07Store the laziness of type aliases in the DefKindLeón Orell Valerian Liehr-1/+1
2023-08-07Auto merge of #113902 - Enselic:lint-recursive-drop, r=oli-obkbors-21/+96
2023-08-04Rollup merge of #114434 - Nilstrieb:indexing-spans, r=est31Matthias Krüger-2/+8
2023-08-04Improve spans for indexing expressionsNilstrieb-2/+8
2023-08-04Rollup merge of #114022 - oli-obk:tait_ice_alias_field_projection, r=cjgillotMatthias Krüger-0/+6
2023-07-28Lower generic const items to HIRLeón Orell Valerian Liehr-1/+1
2023-07-25inline format!() args from rustc_codegen_llvm to the end (4)Matthias Krüger-54/+35
2023-07-24Perform OpaqueCast field projection on HIR, too.Oli Scherer-0/+6
2023-07-22Make `unconditional_recursion` warning detect recursive dropsMartin Nordholts-19/+91
2023-07-20Add is_recursive_terminator() helper for `unconditional_recursion` lintMartin Nordholts-10/+13
2023-07-20Avoid unneeded `terminator()` call in `fn ignore_edge()`Martin Nordholts-3/+3
2023-07-19Make it clearer that edition functions are >=, not ==Michael Goulet-1/+1
2023-07-15Implement "items do not inherit unsafety" for THIR unsafecksyvb-24/+146
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-152/+140
2023-07-14Auto merge of #113609 - nnethercote:maybe_lint_level_root_bounded-cache, r=cj...bors-12/+71
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-24/+20
2023-07-13Add a cache for `maybe_lint_level_root_bounded`.Nicholas Nethercote-10/+47
2023-07-12Move `maybe_lint_level_root_bounded`.Nicholas Nethercote-3/+24
2023-07-12Shorten some overlong comment lines.Nicholas Nethercote-6/+7
2023-07-10Do not set up wrong span for adjustmentsMichael Goulet-28/+1
2023-07-08Rollup merge of #113217 - ericmarkmartin:lower-type-relative-ctor-to-adt, r=c...Matthias Krüger-15/+32
2023-07-07Rename `adjustment::PointerCast` and variants using it to `PointerCoercion`Nilstrieb-16/+25
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-23/+31
2023-07-04Replace `const_error` methods with `Const::new_error`Boxy-1/+1
2023-07-04Replace `mk_const` with `Const::new_x` methodsBoxy-8/+16
2023-07-02refactorEric Mark Martin-17/+19
2023-06-30resolve typerelative ctors to adtEric Mark Martin-12/+27
2023-06-28remove cruftEric Mark Martin-1/+0
2023-06-28use translatable subdiagnosticEric Mark Martin-1/+6
2023-06-28add note for non-exhaustive matches with guardsEric Mark Martin-0/+5
2023-06-27Rollup merge of #113093 - WaffleLapkin:become_unuwuable_in_thir, r=NilstriebMatthias Krüger-8/+24
2023-06-27`thir`: Add `Become` expression kindMaybe Waffle-8/+24
2023-06-27Rollup merge of #113039 - matthiaskrgr:custom_mir, r=compiler-errorsMatthias Krüger-1/+5
2023-06-27Auto merge of #112693 - ericmarkmartin:use-more-placeref, r=spastorinobors-15/+4
2023-06-26make custom mir ICE a bit nicerMatthias Krüger-1/+5
2023-06-26`hir`: Add `Become` expression kindMaybe Waffle-0/+5
2023-06-25use PlaceRef abstractions more consistentlyEric Mark Martin-15/+4
2023-06-21Rollup merge of #112759 - cjgillot:closure-names, r=oli-obkNilstrieb-0/+18
2023-06-20address most easy commentsZiru Niu-13/+7
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-17/+27
2023-06-19Rollup merge of #112232 - fee1-dead-contrib:match-eq-const-msg, r=b-naberMichael Goulet-5/+11
2023-06-19Remove duplicated comment.Camille GILLOT-7/+0
2023-06-19Make closure_saved_names_of_captured_variables a query.Camille GILLOT-0/+25
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-5/+11
2023-06-16Re-use the deref-pattern recursion instead of duplicating the logicOli Scherer-59/+26