about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-5/+7
2023-02-16Auto merge of #108127 - matthiaskrgr:rollup-kpzfc6j, r=matthiaskrgrbors-16/+5
2023-02-16Auto merge of #108020 - nnethercote:opt-mk_region, r=compiler-errorsbors-6/+6
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-16/+5
2023-02-15Rollup merge of #108010 - compiler-errors:can_eq-returns-bool, r=lcnrMatthias Krüger-1/+1
2023-02-15Add specialized variants of `mk_region`.Nicholas Nethercote-6/+6
2023-02-14Add `of_trait` to DefKind::Impl.Camille GILLOT-9/+9
2023-02-13Make can_eq and can_sub return booleansMichael Goulet-1/+1
2023-02-09Change to `ReError(ErrorGuaranteed)`Esteban Küber-1/+1
2023-02-09Introduce `ReError`Esteban Küber-3/+7
2023-02-07Replacing bound vars is actually instantiating a binderMichael Goulet-1/+1
2023-02-06Modify existing bounds if they existEdward Shen-0/+1
2023-02-04Rollup merge of #107646 - estebank:specific-span, r=compiler-errorsMatthias Krüger-6/+57
2023-02-04Auto merge of #107267 - cjgillot:keep-aggregate, r=oli-obkbors-1/+4
2023-02-03review commentsEsteban Küber-14/+17
2023-02-03Provide structured suggestion for binding needing type on E0594Esteban Küber-6/+54
2023-02-02Put a DefId in AggregateKind.Camille GILLOT-1/+4
2023-02-02Suggest `move` in nested closure when appropriateEsteban Küber-16/+12
2023-01-31Rollup merge of #107467 - WaffleLapkin:uneq, r=oli-obkGuillaume Gomez-1/+1
2023-01-30errors: implement `IntoDiagnosticArg` for `&T`David Wood-0/+6
2023-01-30Use `Mutability::{is_mut, is_not}`Maybe Waffle-1/+1
2023-01-28Also erase substs for new infcx in pin move errorNilstrieb-0/+4
2023-01-26add method_substs to CallKindKyle Matsuda-4/+2
2023-01-26fix up subst_identity vs skip_binder; add some FIXMEs as identified in reviewKyle Matsuda-1/+3
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-2/+2
2023-01-26replace usages of fn_sig query with bound_fn_sigKyle Matsuda-2/+2
2023-01-25Rollup merge of #106897 - estebank:issue-99430, r=davidtwcoMatthias Krüger-2/+35
2023-01-25Rollup merge of #105345 - yanchen4791:issue-103582-fix, r=jackh726Matthias Krüger-19/+40
2023-01-23Add hint for missing lifetime bound on trait object when type alias is usedyanchen4791-19/+40
2023-01-23fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo-1/+1
2023-01-21Auto merge of #106976 - tmiasko:borrowck-lazy-dominators, r=cjgillotbors-2/+2
2023-01-17Lazy dominator tree construction in borrowckTomasz Miąsko-2/+2
2023-01-17Add 'static lifetime suggestion when GAT implied 'static requirement from HRTByanchen4791-4/+113
2023-01-17Account for method call and indexing when looking for inner-most path in expr...Esteban Küber-1/+3
2023-01-17Account for field access when looking for inner-most path in expressionEsteban Küber-1/+2
2023-01-17Account for `*` when looking for inner-most path in expressionEsteban Küber-1/+3
2023-01-15Tweak E0597Esteban Küber-2/+30
2023-01-15Remove bound_{explicit,}_item_boundsMichael Goulet-27/+21
2023-01-13Rollup merge of #106641 - chenyukang:yukang/fix-105761-segguest-this, r=estebankMatthias Krüger-5/+145
2023-01-12Fix ICE formattingEsteban Küber-1/+1
2023-01-12take care when there is no args in method callyukang-14/+12
2023-01-12Provide help on closures capturing self causing borrow checker errorsyukang-5/+147
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-09Rollup merge of #106549 - wcampbell0x2a:use-fmt-named-parameters-borrowck, r=...fee1-dead-91/+62
2023-01-08Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler...Yuki Okushi-11/+16
2023-01-07Rollup merge of #106509 - estebank:closure-in-block, r=davidtwcoMatthias Krüger-7/+38
2023-01-06Use fmt named parameters in rustc_borrowckwcampbell-91/+62
2023-01-05Suggests adding named lifetime when the return contains value borrowed from m...yanchen4791-2/+11
2023-01-05Detect closures assigned to binding in blockEsteban Küber-7/+38