about summary refs log tree commit diff
path: root/compiler/rustc_borrowck
AgeCommit message (Expand)AuthorLines
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-5/+5
2022-09-01do not suggest adding `move` to closure when `move` is already usedTakayuki Maeda-3/+11
2022-08-30Auto merge of #100812 - Nilstrieb:revert-let-chains-nightly, r=Mark-Simulacrumbors-0/+1
2022-08-29Rollup merge of #101146 - jackh726:borrowck-logging, r=compiler-errorsMatthias Krüger-67/+29
2022-08-29Revert let_chains stabilizationNilstrieb-0/+1
2022-08-29Various changes to logging of borrowck-related codeJack Huey-67/+29
2022-08-29Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obkMatthias Krüger-10/+10
2022-08-28Rollup merge of #101002 - estebank:hashmap-idx, r=davidtwcoMatthias Krüger-3/+113
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-10/+10
2022-08-26diag-migAndyJado-76/+169
2022-08-25Provide structured suggestion for `hashmap[idx] = val`Esteban Küber-3/+113
2022-08-24Rollup merge of #100940 - TaKO8Ki:do-not-suggest-adding-bound-to-opaque-type,...Matthias Krüger-0/+3
2022-08-24Rollup merge of #100906 - ChayimFriedman2:map-index-mut, r=davidtwcoMatthias Krüger-2/+17
2022-08-24Rollup merge of #100901 - TaKO8Ki:make-some-methods-private, r=sanxiynMatthias Krüger-1/+2
2022-08-24do not suggest adding a bound to a opaque typeTakayuki Maeda-1/+5
2022-08-23Suggest alternatives when trying to mutate a `HashMap`/`BTreeMap` via indexingChayim Refael Friedman-2/+17
2022-08-22get rid of `RefCell` in `TransitiveRelation`SparrowLii-21/+22
2022-08-22make some methods privateTakayuki Maeda-1/+2
2022-08-21Rollup merge of #100761 - lcnr:mir-typeck-cleanup, r=compiler-errorsMatthias Krüger-90/+58
2022-08-21Replace #[lint/warning/error] with #[diag]Xiretza-4/+4
2022-08-20Rollup merge of #100186 - compiler-errors:or-as_mut, r=fee1-deadMatthias Krüger-8/+6
2022-08-19move `type_check_internal` into `type_check`lcnr-85/+52
2022-08-19small mir typeck cleanuplcnr-5/+6
2022-08-16Make as_ref suggestion a noteMichael Goulet-8/+6
2022-08-15Fix #95079 by adding help and suggestion for missing move in nested closureYan Chen-0/+37
2022-08-14Suggest as_ref or as_mutMichael Goulet-1/+1
2022-08-14TypeError can be CopyMichael Goulet-3/+1
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-08-10Use &mut Diagnostic instead of &mut DiagnosticBuilder unless neededMichael Goulet-8/+3
2022-08-09don't normalize wf predicateslcnr-24/+39
2022-08-04Rollup merge of #100095 - jackh726:early-binder, r=lcnrMatthias Krüger-16/+16
2022-08-04Rollup merge of #100093 - wcampbell0x2a:unused-parens-for-match-arms, r=petro...Matthias Krüger-1/+1
2022-08-04Enable unused_parens for match armswcampbell-1/+1
2022-08-04Auto merge of #100120 - matthiaskrgr:rollup-g6ycykq, r=matthiaskrgrbors-0/+45
2022-08-03fix trailing whitespace in error messageklensy-1/+1
2022-08-03cosmetic changesAli MJ Al-Nasrawy-5/+11
2022-08-02Add bound_predicates_of and bound_explicit_predicates_ofJack Huey-16/+16
2022-08-02NLL: relate closure to parent fnAli MJ Al-Nasrawy-0/+39
2022-07-31Improve `cannot move out of` error messageObei Sideg-32/+100
2022-07-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-44/+36
2022-07-30Use LocalDefId for closures moreCameron Steffen-44/+36
2022-07-29Change enclosing_body_owner to return LocalDefIdMiguel Guarniz-2/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-2/+1
2022-07-29Auto merge of #99667 - ouz-a:some_branch, r=oli-obkbors-1/+1
2022-07-27Auto merge of #99725 - lcnr:dedup-region_bound_pairs, r=compiler-errorsbors-15/+16
2022-07-27Rollup merge of #99728 - cjgillot:ast-lifetimes-anon-clean, r=petrochenkovGuillaume Gomez-2/+1
2022-07-27Rollup merge of #99079 - compiler-errors:issue-99073, r=oli-obkYuki Okushi-21/+0
2022-07-26Replace LifetimeRes::Anonymous by LifetimeRes::Infer.Camille GILLOT-1/+1
2022-07-26Remove the distinction between LifetimeName::Implicit and LifetimeName::Under...Camille GILLOT-1/+0
2022-07-26Rollup merge of #99748 - compiler-errors:better-impl-trait-printing, r=fee1-deadDylan DPC-7/+16