summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2023-12-18Rename many `DiagCtxt` arguments.Nicholas Nethercote-2/+2
2023-12-18Rename `Session::span_diagnostic` as `Session::dcx`.Nicholas Nethercote-7/+7
2023-12-18Rename `Handler` as `DiagCtxt`.Nicholas Nethercote-1/+1
2023-12-15banish hir::GenericBound::LangItemTraitMichael Goulet-20/+10
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-47/+48
2023-12-11remove some redundant clonesMatthias Krüger-1/+1
2023-12-08Implement `async gen` blocksMichael Goulet-4/+30
2023-12-04Provide more suggestions for cloning immutable bindingsEsteban Küber-1/+101
2023-12-04Deduplicate some logicEsteban Küber-110/+51
2023-12-04Tweak output on specific caseEsteban Küber-1/+21
2023-12-04Suggest cloning and point out obligation errors on move errorEsteban Küber-48/+124
2023-12-04Tweak `.clone()` suggestion to work in more casesEsteban Küber-3/+17
2023-12-02Use `Session::diagnostic` in more places.Nicholas Nethercote-5/+5
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-4/+4
2023-11-28Fix a typo in a `format_args!` noteJosh Stone-1/+1
2023-11-26Auto merge of #118316 - Mark-Simulacrum:delete-copy-to-upvars, r=cjgillotbors-14/+12
2023-11-26Remove Upvar duplicationMark Rousskov-14/+12
2023-11-26Rollup merge of #118311 - bvanjoi:merge_coroutinue_into_closure, r=petrochenkovGuillaume Gomez-1/+8
2023-11-26merge `DefKind::Coroutine` into `DefKind::Closure`bohan-1/+8
2023-11-26rustc: `hir().local_def_id_to_hir_id()` -> `tcx.local_def_id_to_hir_id()` cle...Vadim Petrochenkov-7/+7
2023-11-25Remove HirId from QPath::LangItemMichael Goulet-8/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-26/+26
2023-11-21Rollup merge of #118035 - ouz-a:november_ice2, r=compiler-errorsNilstrieb-2/+9
2023-11-20Fix early param lifetimes in generic_const_exprsouz-a-2/+9
2023-11-20Rollup merge of #117835 - Nilstrieb:note-object-lifetime-defaults, r=compiler...Matthias Krüger-2/+60
2023-11-17rename bound region instantiationlcnr-2/+3
2023-11-16Auto merge of #116097 - jackh726:higher-ranked-lifetime-error-backup, r=compi...bors-12/+44
2023-11-15Re-format code with new rustfmtMark Rousskov-1/+2
2023-11-14finish `RegionKind` renamelcnr-26/+29
2023-11-13continue renaminglcnr-2/+2
2023-11-13rename `ReLateBound` to `ReBound`lcnr-3/+3
2023-11-12Note about object lifetime defaults in does not live long enough errorNilstrieb-2/+60
2023-11-08rename `BorrowKind::Shallow` to `Fake`lcnr-8/+7
2023-11-07Auto merge of #117511 - gurry:117406-err-packed-structs, r=compiler-errorsbors-1/+19
2023-11-03Emit explanatory note for move errors in packed struct derivesGurinder Singh-1/+19
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-3/+2
2023-10-27Handle `move` generatorsOli Scherer-5/+11
2023-10-26Add hir::GeneratorKind::GenOli Scherer-0/+19
2023-10-25Rename `AsyncCoroutineKind` to `CoroutineSource`Oli Scherer-6/+6
2023-10-24Auto merge of #116300 - cjgillot:split-move, r=petrochenkovbors-69/+95
2023-10-23Rollup merge of #116859 - Nilstrieb:more-more-funny-pretty-printers, r=oli-obkMatthias Krüger-2/+4
2023-10-21Stop computing error info in move path builder.Camille GILLOT-3/+22
2023-10-21Avoid using a magic value for untracked locals.Camille GILLOT-3/+4
2023-10-21Do not report errors from move path builder.Camille GILLOT-65/+71
2023-10-21Make `ty::print::Printer` take `&mut self` instead of `self`Nilstrieb-2/+4
2023-10-21Rollup merge of #116990 - estebank:issue-68445, r=cjgillotMatthias Krüger-0/+22
2023-10-20Rename `CoroutineKind::Gen` to `::Coroutine`Oli Scherer-2/+2
2023-10-20s/generator/coroutine/Oli Scherer-51/+51
2023-10-20s/Generator/Coroutine/Oli Scherer-36/+36
2023-10-20Mention `into_iter` on borrow errors suggestions when appropriateEsteban Küber-0/+22