1
Fork 0
rust/compiler/rustc_hir_analysis/src
Matthias Krüger 70468af591
Rollup merge of #106200 - compiler-errors:suggest-impl-trait, r=estebank
Suggest `impl Fn*` and `impl Future` in `-> _` return suggestions

Follow-up to #106172, only the last commit is relevant. Can rebase once that PR is landed for easier review.

Suggests `impl Future` and `impl Fn{,Mut,Once}` in `-> _` return suggestions.

r? `@estebank`
2023-01-04 07:28:54 +01:00
..
astconv Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
check Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, r=compiler-errors 2022-12-29 13:16:04 +01:00
coherence Rollup merge of #106353 - lukas-code:reduce-red-lines-in-my-ide, r=wesleywiser 2023-01-03 17:19:27 -08:00
collect Rollup merge of #106221 - Nilstrieb:rptr-more-like-ref-actually, r=compiler-errors 2022-12-29 13:16:04 +01:00
impl_wf_check Auto merge of #106129 - compiler-errors:compare_method-tweaks, r=BoxyUwU 2022-12-28 13:07:30 +00:00
outlives rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
structured_errors Change how suggested lifetime args are computed. 2022-11-24 17:48:42 +00:00
variance Prevent the creation of TraitRef without dedicated methods 2022-12-14 15:36:39 +00:00
bounds.rs Stop passing the self-type as a separate argument. 2022-11-21 20:39:46 +00:00
check_unused.rs Remove useless filter in unused extern crate check. 2022-12-03 09:23:03 +00:00
collect.rs Restore Fn trait note 2023-01-04 00:37:34 +00:00
constrained_generic_params.rs Combine projection and opaque into alias 2022-12-13 17:48:55 +00:00
errors.rs Ensure async trait impls are async (or otherwise return an opaque type) 2022-12-14 16:38:21 -08:00
hir_wf_check.rs Convert predicates into Predicate in the Obligation constructor 2022-11-16 09:25:19 +00:00
impl_wf_check.rs Rename some OwnerId fields. 2022-10-29 20:28:38 +11:00
lib.rs Make ObligationCtxt::normalize take cause by borrow 2022-11-28 17:35:40 +00:00
structured_errors.rs rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00