summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
AgeCommit message (Expand)AuthorLines
2025-02-06Revert "Auto merge of #134330 - scottmcm:no-more-rvalue-len, r=matthewjasper"Rémy Rakic-5/+19
2025-01-10Try to explain borrow for tail expr temporary drop order change in 2024Michael Goulet-14/+32
2025-01-10Don't do AccessDepth::Drop for types with no drop implMichael Goulet-4/+12
2025-01-10remove an extraneous commentwieDasDing-1/+0
2025-01-10apply suggestions on fn nameDing Xiang Fei-4/+4
2025-01-10run borrowck tests on BIDs and emit tail-expr-drop-order lints forDing Xiang Fei-14/+72
2025-01-01Rollup merge of #134945 - compiler-errors:map-mutate-nits, r=estebankStuart Cook-7/+10
2024-12-31Rollup merge of #133486 - dianne:fix-move-error-suggestion, r=estebankTrevor Gross-39/+118
2024-12-31Fix span for IndexMut method call on HashMap/BTreeMapMichael Goulet-2/+2
2024-12-31Use if-let in structured suggestion instead of Option::mapMichael Goulet-6/+9
2024-12-31Explain how to mutate a HashMap/BTreeMap with more nuanceMichael Goulet-1/+1
2024-12-30rename `diags` fieldRémy Rakic-19/+26
2024-12-30clean up `BorrowckDiags`Rémy Rakic-23/+13
2024-12-30merge `diags` module into `diagnostics`Rémy Rakic-149/+142
2024-12-30move `facts` module to polonius legacy moduleRémy Rakic-22/+17
2024-12-30simplify `add_extra_drop_facts`Rémy Rakic-25/+20
2024-12-30move `location` module to polonius legacy moduleRémy Rakic-11/+11
2024-12-30fix a couple nitsRémy Rakic-6/+5
2024-12-29address review commentsRémy Rakic-7/+24
2024-12-29liveness constraints: draw the rest of the owlRémy Rakic-71/+180
2024-12-29finish filling polonius contextRémy Rakic-8/+40
2024-12-29record variance of regular live regionsRémy Rakic-3/+21
2024-12-29record variance of use/drop live regionsRémy Rakic-6/+12
2024-12-29add variance recordingRémy Rakic-0/+126
2024-12-29introduce polonius contextRémy Rakic-47/+104
2024-12-29Auto merge of #134627 - estebank:issue-133252, r=jackh726bors-2/+8
2024-12-27Rollup merge of #134827 - compiler-errors:borrowck-nits, r=lqdDavid Tolnay-0/+6
2024-12-27Make sure there are no registered constraints from creating universal region ...Michael Goulet-0/+6
2024-12-27Fix typoschloefeal-1/+1
2024-12-24Auto merge of #134625 - compiler-errors:unsafe-binders-ty, r=oli-obkbors-0/+2
2024-12-23Auto merge of #134465 - lcnr:type-verifier, r=compiler-errorsbors-317/+84
2024-12-22Begin to implement type system layer of unsafe bindersMichael Goulet-0/+2
2024-12-22Delete `Rvalue::Len`Scott McMurray-19/+5
2024-12-21Auto merge of #134268 - lqd:polonius-next, r=jackh726bors-34/+408
2024-12-21Avoid ICE in borrowckEsteban Küber-2/+8
2024-12-21Auto merge of #134501 - lcnr:member-constraints-yeet, r=oli-obkbors-96/+381
2024-12-20Rollup merge of #134574 - lcnr:opaque-ty-hack-yeet, r=compiler-errorsMatthias Krüger-6/+7
2024-12-20next-solver: rm opaque type hacklcnr-6/+7
2024-12-20add commentslcnr-3/+6
2024-12-20remove non-borrowck member constraintslcnr-33/+14
2024-12-20more directly handle member constraintslcnr-71/+375
2024-12-19Auto merge of #134499 - jieyouxu:rollup-zmaveur, r=jieyouxubors-29/+33
2024-12-19Rollup merge of #134477 - lcnr:move-lint-into-subfn, r=lqd许杰友 Jieyou Xu (Joe)-29/+33
2024-12-19Auto merge of #133961 - lcnr:borrowck-cleanup, r=jackh726bors-16/+18
2024-12-18Auto merge of #133328 - nnethercote:simplify-SwitchInt-handling, r=tmiaskobors-11/+1
2024-12-18move lint_unused_mut into subfnlcnr-29/+33
2024-12-18fix crasheslcnr-1/+1
2024-12-18introduce `LateParamRegionKind`lcnr-15/+17
2024-12-18we aren't actually sanitizing anything anymorelcnr-40/+31
2024-12-18merge PlaceTy field_ty computationlcnr-105/+12