summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
AgeCommit message (Expand)AuthorLines
2023-11-09rename `BorrowKind::Shallow` to `Fake`lcnr-1/+1
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-3/+3
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-10/+10
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-8/+6
2023-07-10Fix another strange suggestion spanMichael Goulet-1/+1
2023-07-10Don't use method span on clone suggestionMichael Goulet-2/+2
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-30Better messages for next in a iterator inside for loopsyukang-0/+6
2023-06-20address most easy commentsZiru Niu-4/+3
2023-06-20merge `BorrowKind::Unique` into `BorrowKind::Mut`Ziru Niu-3/+3
2023-06-18Better error for non const `PartialEq` call generated by `match`Deadbeef-5/+11
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-1/+1
2023-05-04Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors-1/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-04-27Don't call await a methodMichael Goulet-6/+15
2023-04-25Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle-1/+1
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-21Clone region var origins instead of taking in borrowckMichael Goulet-16/+11
2023-04-17Rollup merge of #104055 - AndyJado:bck_errors, r=davidtwcoMatthias Krüger-143/+103
2023-04-16Move some utils out of `rustc_const_eval`Nilstrieb-3/+3
2023-04-13rm var_span_label to var_subdiag & eager subdiagAndyJado-143/+103
2023-04-06Use BoundTy and BoundRegion instead of kind of PlaceholderTy and PlaceholderR...Jack Huey-6/+8
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-2/+3
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-5/+5
2023-03-21remove some trait solver helperslcnr-1/+0
2023-03-14Wrap the whole LocalInfo in ClearCrossCrate.Camille GILLOT-3/+3
2023-03-05Auto merge of #108351 - petrochenkov:rmdit, r=cjgillotbors-1/+1
2023-03-03Desugars drop and replace at MIR buildGiacomo Pasini-1/+14
2023-03-02rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov-1/+1
2023-02-26Wrap more into into closure_typeinfo query.Camille GILLOT-19/+5
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-16change usages of type_of to bound_type_ofKyle Matsuda-1/+1
2023-02-15Rollup merge of #108010 - compiler-errors:can_eq-returns-bool, r=lcnrMatthias Krüger-1/+1
2023-02-14Add `of_trait` to DefKind::Impl.Camille GILLOT-7/+7
2023-02-13Make can_eq and can_sub return booleansMichael Goulet-1/+1
2023-02-07Replacing bound vars is actually instantiating a binderMichael Goulet-1/+1
2023-02-02Put a DefId in AggregateKind.Camille GILLOT-0/+2
2023-01-28Also erase substs for new infcx in pin move errorNilstrieb-0/+4
2023-01-26add method_substs to CallKindKyle Matsuda-4/+2
2023-01-26fix up subst_identity vs skip_binder; add some FIXMEs as identified in reviewKyle Matsuda-1/+3
2023-01-26change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda-1/+1
2023-01-26replace usages of fn_sig query with bound_fn_sigKyle Matsuda-1/+1
2023-01-06Use fmt named parameters in rustc_borrowckwcampbell-22/+16
2022-12-26review commentsEsteban Küber-7/+5
2022-12-25Create new inference contextEsteban Küber-29/+33
2022-12-23Do not use `hir_ty_to_ty`Esteban Küber-15/+10
2022-12-23Verify receiver is of `self: Pin<&mut Self>`Esteban Küber-2/+6
2022-12-23Suggest `.clone()` on method call move errorsEsteban Küber-9/+34
2022-12-23Suggest `Pin::as_mut` when encountering borrow errorEsteban Küber-0/+11