about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src
AgeCommit message (Expand)AuthorLines
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-7/+7
2024-08-16Add `warn(unreachable_pub)` to `rustc_borrowck`.Nicholas Nethercote-68/+74
2024-08-14Rollup merge of #129059 - compiler-errors:subtyping-correct-type, r=lcnr许杰友 Jieyou Xu (Joe)-4/+4
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-5/+5
2024-08-13Use the right type when coercing fn items to pointersMichael Goulet-4/+4
2024-08-12Rollup merge of #128712 - compiler-errors:normalize-borrowck, r=lcnrMatthias Krüger-11/+49
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-2/+4
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-33/+31
2024-08-11Rename normalization functions to rawMichael Goulet-2/+2
2024-08-11Normalize struct tail properly in borrowck and hir typeckMichael Goulet-11/+49
2024-08-11Use assert_matches around the compilerMichael Goulet-2/+4
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+2
2024-08-10rustc_borrowck: fmtPavel Grigorenko-29/+31
2024-08-10rustc_borrowck: make "implicit static" suff translatablePavel Grigorenko-4/+3
2024-08-10rustc_borrowck: make some suggestion about static lifetimes translatablePavel Grigorenko-3/+2
2024-08-10rustc_borrowck: make suggestion to move closure translatablePavel Grigorenko-2/+1
2024-08-10rustc_borrowck: make dereference suggestion translatablePavel Grigorenko-3/+2
2024-08-09use stable sort to sort multipart diagnosticsFolkert-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-5/+5
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
2024-08-06Don't arbitrarily choose one upper bound for hidden captured regionMichael Goulet-15/+20
2024-08-05Normalize when equating dyn tails in MIR borrowckMichael Goulet-0/+6
2024-07-31Rollup merge of #128244 - compiler-errors:move-clone-sugg, r=estebankMatthias Krüger-80/+28
2024-07-29Stop using MoveDataParamEnv for places that don't need a param-envMichael Goulet-9/+7
2024-07-29Reformat `use` declarations.Nicholas Nethercote-312/+273
2024-07-27Rollup merge of #128241 - compiler-errors:clone-sugg, r=jieyouxuTrevor Gross-31/+0
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-80/+28
2024-07-26Remove logic to suggest clone of function outputMichael Goulet-31/+0
2024-07-26Suppress useless clone suggestionMichael Goulet-0/+5
2024-07-24Don't ICE if HIR and middle types disagree in borrowck error reportingMichael Goulet-8/+26
2024-07-23Rollup merge of #128049 - compiler-errors:E0626, r=petrochenkovMatthias Krüger-3/+27
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-11/+14
2024-07-21Move some stuff to TypeErrCtxtMichael Goulet-4/+10
2024-07-21Explain that coroutine can be marked staticMichael Goulet-3/+27
2024-07-20Rollup merge of #127948 - surechen:fix_127915, r=compiler-errorsMatthias Krüger-4/+9
2024-07-19fixes panic errorsurechen-4/+9
2024-07-18Remove tag field from relationsMichael Goulet-4/+0
2024-07-18Rollup merge of #127810 - compiler-errors:less-tcx, r=lcnrMatthias Krüger-4/+4
2024-07-17Fix relationsMichael Goulet-4/+4
2024-07-17If the moved value is a mut reference, it is used in a generic function and i...surechen-29/+73
2024-07-16Rollup merge of #127501 - compiler-errors:invert-infer-error-mod-struture, r=...Trevor Gross-3/+3
2024-07-16Rollup merge of #120990 - chenyukang:yukang-fix-120327-dbg, r=oli-obkTrevor Gross-2/+63
2024-07-15Move rustc_infer::infer::error_reporting to rustc_infer::error_reporting::inferMichael Goulet-3/+3
2024-07-16Suggest a borrow when using dbgyukang-2/+63
2024-07-16Remove invalid help diagnostics for const pointeryukang-12/+21
2024-07-14Stop using the gen keyword in the compilerMichael Goulet-1/+1
2024-07-12Rollup merge of #127625 - SkiFire13:revert-comment-deletion, r=workingjubileeMatthias Krüger-0/+2
2024-07-11Revert accidental comment deletionGiacomo Stevanato-0/+2
2024-07-11Rollup merge of #124599 - estebank:issue-41708, r=wesleywiserMatthias Krüger-19/+70
2024-07-09Auto merge of #127500 - compiler-errors:consolidate-region-errors, r=lcnrbors-7/+5