about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-117/+111
2023-09-20the Const::eval_bits methods don't need to be given the TyRalf Jung-17/+14
2023-09-19adjust constValue::Slice to work for arbitrary slice typesRalf Jung-3/+3
2023-09-19move ConstValue into mirRalf Jung-8/+5
2023-09-18better ICE than sorryRalf Jung-0/+3
2023-09-16thir::pattern: update some comments and error type namesRalf Jung-11/+14
2023-09-14move required_consts check to general post-mono-check functionRalf Jung-4/+4
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-1/+1
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-05Refactor how MIR represents composite debuginfo.Camille GILLOT-0/+5
2023-09-05Rollup merge of #115540 - cjgillot:custom-debuginfo, r=oli-obkMatthias Krüger-2/+57
2023-09-03Auto merge of #115270 - sebastiantoh:issue-105479, r=Nadrierilbors-37/+39
2023-09-03Improve clarity of diagnostic message on non-exhaustive matchesSebastian Toh-2/+2
2023-09-03Fix code that now emits unused doc comment warning for expr fieldGurinder Singh-2/+2
2023-09-01Support debuginfo for custom MIR.Camille GILLOT-2/+57
2023-08-30use if only on lhs of binary logical exprsDing Xiang Fei-16/+18
2023-08-30lower bare boolean expression with if-constructDing Xiang Fei-39/+29
2023-08-30lower ExprKind::Use, LogicalOp::Or and UnOp::NotDing Xiang Fei-0/+44
2023-08-28Add note when matching on nested non-exhaustive enumsSebastian Toh-31/+29
2023-08-28Add note that str cannot be matched exhaustivelySebastian Toh-6/+10
2023-08-25Auto merge of #115045 - RalfJung:unwind-terminate-reason, r=davidtwcobors-3/+3
2023-08-25Auto merge of #114397 - sebastiantoh:issue-85222, r=Nadrierilbors-14/+31
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-3/+3
2023-08-24Auto merge of #115012 - Zoxc:thir-check-root, r=cjgillotbors-1/+2
2023-08-21Add note when matching on tuples/ADTs containing non-exhaustive typesSebastian Toh-14/+31
2023-08-20give some unwind-related terminators a more clear nameRalf Jung-9/+9
2023-08-20Ensure that THIR unsafety check is done before stealing it. Fixes #111520.John Kåre Alsaker-1/+2
2023-08-19custom_mir: change Call() terminator syntax to something more readableRalf Jung-10/+9
2023-08-17Revert "Implement references VarDebugInfo."Camille GILLOT-4/+0
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-27Rollup merge of #114075 - matthiaskrgr:fmt_args_rustc_3, r=wesleywiserMatthias Krüger-54/+35
2023-07-26Replace in-tree `rustc_apfloat` with the new version of the crateWesley Wiser-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/+148