summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-10-12remove a couple of redundant String to String conversionMatthias Krüger-1/+1
2024-10-07Rollup merge of #131225 - nnethercote:rustc_borrowck-mm, r=lqdJubilee-13/+12
2024-10-04rm `ItemKind::OpaqueTy`Noah Lev-8/+2
2024-10-04Remove unnecessary lifetime in `ConditionVisitor`.Nicholas Nethercote-10/+10
2024-10-04Use `Rc` less in `MirBorrowckCtxt`.Nicholas Nethercote-3/+2
2024-10-02Remove redundant in_trait from hir::TyKind::OpaqueDefMichael Goulet-1/+1
2024-09-24be even more precise about "cast" vs "coercion"Lukas Markeffsky-5/+7
2024-09-24replace "cast" with "coercion" where applicableLukas Markeffsky-2/+5
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-82/+78
2024-09-14Rollup merge of #130294 - nnethercote:more-lifetimes, r=lcnrLeón Orell Valerian Liehr-9/+9
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-9/+9
2024-09-13Auto merge of #107251 - dingxiangfei2009:let-chain-rescope, r=jieyouxubors-17/+122
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-25/+22
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-1/+1
2024-09-11Simplify some nested if statementsMichael Goulet-25/+22
2024-09-11downgrade borrowck suggestion level due to possible span conflictDing Xiang Fei-14/+29
2024-09-11rescope temp lifetime in let-chain into IfElseDing Xiang Fei-17/+107
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-09Remove unnecessary lifetimes in dataflow structs.Nicholas Nethercote-24/+20
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-3/+4
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_borrowck`.Nicholas Nethercote-0/+10
2024-08-27Rollup merge of #129340 - stephen-lazaro:u/slazaro/issue-129274, r=compiler-e...Matthias Krüger-2/+3
2024-08-22Deduplicate Spans in Uninitialized CheckStephen Lazaro-2/+3
2024-08-16Add `warn(unreachable_pub)` to `rustc_borrowck`.Nicholas Nethercote-15/+17
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-1/+1
2024-08-12Rollup merge of #128978 - compiler-errors:assert-matches, r=jieyouxuGuillaume Gomez-2/+4
2024-08-12Rollup merge of #128886 - GrigorenkoPV:untranslatable-diagnostic, r=nnethercoteGuillaume Gomez-33/+31
2024-08-11Use assert_matches around the compilerMichael Goulet-2/+4
2024-08-11Rollup merge of #128762 - fmease:use-more-slice-pats, r=compiler-errorsMatthias Krüger-2/+2
2024-08-10rustc_borrowck: fmtPavel Grigorenko-29/+31
2024-08-10rustc_borrowck: make "implicit static" suff translatablePavel Grigorenko-4/+3
2024-08-10rustc_borrowck: make some suggestion about static lifetimes translatablePavel Grigorenko-3/+2
2024-08-10rustc_borrowck: make suggestion to move closure translatablePavel Grigorenko-2/+1
2024-08-10rustc_borrowck: make dereference suggestion translatablePavel Grigorenko-3/+2
2024-08-09use stable sort to sort multipart diagnosticsFolkert-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-1/+1
2024-08-07Use more slice patterns inside the compilerLeón Orell Valerian Liehr-2/+2
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