summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2024-11-19Put `param_env` into `infcx`.Nicholas Nethercote-31/+34
2024-11-18reviewlcnr-1/+3
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-7/+16
2024-11-17`suggest_borrow_generic_arg`: instantiate clauses properlydianne-16/+10
2024-11-13Suggest borrowing arguments in generic positions when trait bounds are satisfieddianne-159/+157
2024-11-13Use a common subdiagnostic format for generic borrowsdianne-5/+10
2024-11-13Provide borrow-instead-of-move suggestions for calls of fn-like items from ot...dianne-39/+40
2024-11-09Dont suggest use<APIT>Michael Goulet-26/+45
2024-11-05Auto merge of #132580 - compiler-errors:globs, r=Noratriebbors-5/+5
2024-11-04Rollup merge of #131153 - VulnBandit:copy_impl_vuln, r=compiler-errorsJubilee-0/+17
2024-11-04Remove `ToUniverseInfo` impl for `CanonicalQueryInput<CustomTypeOp>`.Nicholas Nethercote-9/+0
2024-11-04Merge `UniverseInfo` and `UniverseInfoInner`.Nicholas Nethercote-25/+13
2024-11-04Tidy up comments and some formatting.Nicholas Nethercote-38/+48
2024-11-04ty::BrK -> ty::BoundRegionKind::KMichael Goulet-4/+4
2024-11-04Remove BorrowKind glob, make names longerMichael Goulet-1/+1
2024-11-04Reduce visibilities.Nicholas Nethercote-1/+1
2024-11-02compiler: Replace rustc_target with _abi in _borrowckJubilee Young-3/+3
2024-10-31Auto merge of #132301 - compiler-errors:adjust, r=lcnrbors-1/+0
2024-10-31Try to point out when edition 2024 lifetime capture rules cause borrowck issuesMichael Goulet-1/+232
2024-10-30Remap impl-trait lifetimes on HIR instead of AST lowering.Camille GILLOT-1/+1
2024-10-29Remove region from adjustmentsMichael Goulet-1/+0
2024-10-24Rollup merge of #131756 - compiler-errors:deeply-normalize-type-err, r=lcnrStuart Cook-6/+6
2024-10-24Plumb through param_env to note_type_errMichael Goulet-6/+6
2024-10-23fix some manual_mapMatthias Krüger-7/+3
2024-10-19Rollup merge of #127675 - chenyukang:yukang-fix-127562-addr, r=petrochenkovMatthias Krüger-12/+21
2024-10-17move `defining_opaque_types` out of `Canonical`lcnr-15/+14
2024-10-16Improve duplicate derive Copy/Clone diagnosticsVulnBandit-0/+17
2024-10-14Move trait bound modifiers into hir::PolyTraitRefMichael Goulet-3/+3
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