summaryrefslogtreecommitdiff
path: root/compiler/rustc_hir_typeck/src/method/suggest.rs
Commit message (Expand)AuthorAgeFilesLines
* Rollup merge of #111588 - MU001999:diag/improve-e0782, r=fee1-deadDylan DPC2023-05-171-30/+55
|\
| * Emits E0599 when meeting MyTrait::missing_methodmu0019992023-05-171-30/+55
* | fix(diagnostic): wrap parens for ref impl trait parambohan2023-05-161-31/+46
|/
* Rollup merge of #110504 - compiler-errors:tweak-borrow-sugg, r=cjgillotDylan DPC2023-05-091-4/+4
|\
| * Rename some suggestion/note functionsMichael Goulet2023-05-081-4/+4
* | IAT: Introduce AliasKind::InherentLeón Orell Valerian Liehr2023-05-041-1/+1
|/
* Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors2023-05-041-1/+2
|\
| * Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle2023-04-251-1/+2
* | Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-031-41/+41
* | Fix a bad binop error when we need a callMichael Goulet2023-04-271-13/+26
|/
* Spelling - compilerJosh Soref2023-04-171-1/+1
* Auto merge of #110252 - matthiaskrgr:rollup-ovaixra, r=matthiaskrgrbors2023-04-121-18/+25
|\
| * Do not use ImplDerivedObligationCause for inherent impl method error reportingMichael Goulet2023-04-101-18/+25
* | Fix typos in compilerDaniPopes2023-04-101-1/+1
|/
* Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray2023-03-301-1/+1
* check for write macro and write_fmt with err msgJames Dietz2023-03-271-10/+42
* Don't split up TreatProjections and TreatParams anymoreMichael Goulet2023-03-231-14/+6
* Remove Ty::is_region_ptrMu422023-03-201-1/+1
* Emit "modifies receiver" diagnostic when no method is foundMaciej Wasilewski2023-03-141-0/+7
* Better names?Michael Goulet2023-03-131-6/+6
* Treat projections with infer as placeholder during fast reject in new solverMichael Goulet2023-03-131-6/+14
* Rollup merge of #108873 - WaffleLapkin:cmp, r=cjgillotMatthias Krüger2023-03-081-2/+2
|\
| * Simplify `sort_by` callsMaybe Waffle2023-03-071-2/+2
* | Rollup merge of #108731 - Ezrashaw:pin-suggestion-on-impl-future, r=petrochenkovYuki Okushi2023-03-071-0/+10
|\ \ | |/ |/|
| * feat: impl better help for `.poll()` not found on `impl Future`Ezra Shaw2023-03-051-0/+10
* | rustc_middle: Remove trait `DefIdTree`Vadim Petrochenkov2023-03-021-1/+1
|/
* Highlight whole expression for E0599clubby7892023-03-011-0/+3
* Rename many interner functions.Nicholas Nethercote2023-02-241-2/+2
* Auto merge of #108324 - notriddle:notriddle/assoc-fn-method, r=compiler-error...bors2023-02-231-7/+7
|\
| * diagnostics: if AssocFn has self argument, describe as methodMichael Howell2023-02-221-7/+7
* | Remove type-traversal trait aliasesAlan Egerton2023-02-221-1/+1
|/
* Make public API, docs algorithm-agnosticJacob Pratt2023-02-191-2/+2
* Auto merge of #107753 - kylematsuda:type-of, r=BoxyUwUbors2023-02-171-7/+11
|\
| * remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda2023-02-161-11/+6
| * change usages of type_of to bound_type_ofKyle Matsuda2023-02-161-5/+14
* | Clarify `DerivedObligationCause` may hold alias idAlan Egerton2023-02-161-1/+1
* | Do not ICE on unmet trait alias impl boundsAlan Egerton2023-02-161-1/+3
|/
* Tweak use of trimmed pathsEsteban Küber2023-01-301-7/+29
* change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda2023-01-261-5/+5
* replace usages of fn_sig query with bound_fn_sigKyle Matsuda2023-01-261-6/+7
* fix: use LocalDefId instead of HirId in trait resVincenzo Palazzo2023-01-231-9/+7
* Consider doc(alias) when providing typo suggestionsRobin Schroer2023-01-231-8/+8
* Auto merge of #106171 - compiler-errors:consolidate-extract_callable_info, r=...bors2023-01-151-2/+4
|\
| * Consolidate two almost duplicated fn info extraction routinesMichael Goulet2023-01-131-2/+4
* | Auto merge of #106696 - kylematsuda:early-binder, r=lcnrbors2023-01-141-4/+7
|\ \
| * | change impl_trait_ref query to return EarlyBinder; remove bound_impl_trait_re...Kyle Matsuda2023-01-141-5/+4
| * | change usages of impl_trait_ref to bound_impl_trait_refKyle Matsuda2023-01-141-7/+11
| |/
* | Do not incorrectly suggest restricting implied boundsEsteban Küber2023-01-131-13/+35
* | Keep obligation chain when elaborating obligationsEsteban Küber2023-01-131-1/+14
|/
* Tweak outputEsteban Küber2023-01-111-24/+28