about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/move_errors.rs
AgeCommit message (Expand)AuthorLines
2025-08-14Adjust error message grammar to be less awkwardJake Goulding-1/+1
2025-08-10review commentsEsteban Küber-5/+7
2025-08-10Add support for method callsEsteban Küber-33/+41
2025-08-10Point at the `Fn()` or `FnMut()` bound that coerced a closure, which caused a...Esteban Küber-1/+39
2025-07-28use let chains in ast, borrowck, codegen, const_evalKivooeo-29/+28
2025-07-25Rollup merge of #144200 - estebank:dont-point-at-closure, r=lcnrMatthias Krüger-51/+83
2025-07-23Point at the type that doesn't impl `Clone` in more cases beyond closuresEsteban Küber-10/+5
2025-07-21Reduce comment verbosityEsteban Küber-33/+5
2025-07-21Tweak spans when encountering multiline initializer in move errorEsteban Küber-2/+9
2025-07-21Generalize logic pointing at binding moved into closureEsteban Küber-24/+55
2025-07-21Tweak borrowck label pointing at `!Copy` value moved into closureEsteban Küber-51/+78
2025-07-21Dont ICE on copy error being suppressed due to overflowMichael Goulet-4/+5
2025-06-26Rollup merge of #124595 - estebank:issue-104232, r=davidtwcoMatthias Krüger-24/+15
2025-06-24Suggest cloning `Arc` moved into closureEsteban Küber-24/+15
2025-06-22Init local_names lazily for borrowck diagnosticsKornel-2/+2
2025-06-22Avoid panic when debug info is missingKornel-3/+7
2025-04-02Move methods from `Map` to `TyCtxt`, part 5.Nicholas Nethercote-1/+1
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-6/+3
2025-02-21Move methods from Map to TyCtxt, part 3.Nicholas Nethercote-1/+1
2025-02-18Move methods from `Map` to `TyCtxt`, part 2.Nicholas Nethercote-3/+3
2025-02-17Overhaul the `intravisit::Map` trait.Nicholas Nethercote-5/+5
2025-02-17Move some `Map` methods onto `TyCtxt`.Nicholas Nethercote-2/+2
2025-01-31Rework "long type names" printing logicEsteban Küber-21/+3
2025-01-24Use short ty string for move errorsEsteban Küber-3/+24
2024-11-25`add_move_error_suggestions`: use a HIR visitor rather than `SourceMap`dianne-39/+118
2024-11-19Put `param_env` into `infcx`.Nicholas Nethercote-1/+1
2024-10-16Improve duplicate derive Copy/Clone diagnosticsVulnBandit-0/+17
2024-10-12remove a couple of redundant String to String conversionMatthias Krüger-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-1/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_borrowck`.Nicholas Nethercote-0/+1
2024-08-16Add `warn(unreachable_pub)` to `rustc_borrowck`.Nicholas Nethercote-1/+1
2024-07-31Rollup merge of #128244 - compiler-errors:move-clone-sugg, r=estebankMatthias Krüger-12/+4
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-26Peel off explicit (or implicit) deref before suggesting clone on move error i...Michael Goulet-12/+4
2024-07-17If the moved value is a mut reference, it is used in a generic function and i...surechen-0/+1
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-07-01Auto merge of #126996 - oli-obk:do_not_count_errors, r=nnethercotebors-3/+3
2024-06-29fix: prefer `(*p).clone` to `p.clone` if the `p` is a raw pointerLin Yihai-6/+21
2024-06-27Rename `'cx` to `'infcx`Oli Scherer-3/+3
2024-06-26Restrict diagnostic context lifetime of mir borrowck to InferCtxt instead of ...Oli Scherer-3/+3
2024-06-24Separate the mir body lifetime from the other lifetimesOli Scherer-1/+1
2024-06-24Separate the lifetimes of the `BorrowckInferCtxt` from the other borrowed itemsOli Scherer-1/+1
2024-06-18Remove redundant argument from `subdiagnostic` methodOli Scherer-28/+19
2024-04-29Remove `extern crate rustc_middle` from numerous crates.Nicholas Nethercote-0/+1
2024-04-24Suggest cloning captured binding in `move` closureEsteban Küber-7/+135
2024-04-24Mention when type parameter could be `Clone`Esteban Küber-3/+9
2024-04-11When possible, suggest cloning the result of a call instead of an argumentEsteban Küber-7/+9
2024-04-11Remove unnecessary argument from `suggest_cloning`Esteban Küber-3/+3
2024-04-11More move error suggestions to cloneEsteban Küber-0/+4