about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-07-31Rollup merge of #128244 - compiler-errors:move-clone-sugg, r=estebankMatthias Krüger-80/+28
2024-07-29Reformat `use` declarations.Nicholas Nethercote-90/+69
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-21Move all error reporting into rustc_trait_selectionMichael Goulet-9/+12
2024-07-21Move some stuff to TypeErrCtxtMichael Goulet-4/+10
2024-07-19fixes panic errorsurechen-4/+9
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-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-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
2024-07-08Consolidate region error reporting in rustc_inferMichael Goulet-7/+5
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-6/+6
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-38/+23
2024-07-04More accurate mutability suggestionEsteban Küber-11/+14
2024-07-04Fix `&mut` removal suggestionEsteban Küber-2/+2
2024-07-04Better span for "make binding mutable" suggestionEsteban Küber-14/+11
2024-07-03Auto merge of #125507 - compiler-errors:type-length-limit, r=lcnrbors-2/+2
2024-07-03Auto merge of #123720 - amandasystems:dyn-enable-refactor, r=nikomatsakisbors-1/+2
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-2/+2
2024-07-01Handle universe leaks by rewriting the constraint graphAmanda Stjerna-1/+2
2024-07-01Auto merge of #126996 - oli-obk:do_not_count_errors, r=nnethercotebors-51/+72
2024-06-29fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointerLin Yihai-9/+44
2024-06-27Rename `'cx` to `'infcx`Oli Scherer-40/+40
2024-06-26Automatically taint InferCtxt when errors are emittedOli Scherer-1/+1
2024-06-26Restrict diagnostic context lifetime of InferCtxt to itself instead of TyCtxtOli Scherer-24/+45
2024-06-26Restrict diagnostic context lifetime of mir borrowck to InferCtxt instead of ...Oli Scherer-26/+26
2024-06-25Rollup merge of #126884 - estebank:issue-125634, r=NadrierilMatthias Krüger-2/+4
2024-06-24Separate the mir body lifetime from the other lifetimesOli Scherer-20/+24
2024-06-24Separate the lifetimes of the `BorrowckInferCtxt` from the other borrowed itemsOli Scherer-20/+20
2024-06-24Do not ICE when suggesting dereferencing closure argEsteban Küber-2/+4
2024-06-24Auto merge of #126023 - amandasystems:you-dropped-this-again, r=nikomatsakisbors-6/+5
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-263/+167
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-5/+5
2024-06-18Use a more precise lifetimeOli Scherer-4/+4
2024-06-17Rollup merge of #126567 - compiler-errors:instance-kind, r=oli-obk,lcnrMatthias Krüger-2/+2
2024-06-17Rollup merge of #126570 - nnethercote:fix-126385, r=lcnrGuillaume Gomez-3/+1
2024-06-17Rollup merge of #126226 - gurry:125325-improve-closure-arg-sugg, r=oli-obkGuillaume Gomez-44/+69
2024-06-17Convert a `span_bug` to a `span_delayed_bug`.Nicholas Nethercote-3/+1
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-2/+2
2024-06-15Rollup merge of #126508 - beepster4096:minor_borrowck_cherrypick, r=compiler-...Guillaume Gomez-3/+3
2024-06-14make uninitialized_error_reported a set of localsbeepster4096-3/+3
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-15/+13
2024-06-14Rollup merge of #126320 - oli-obk:pat_ice, r=lcnrMatthias Krüger-5/+5