rust/compiler/rustc_infer/src
Matthew J Perez 1e22280f23
Add suggestions for function pointers
- On compiler-error's suggestion of moving this lower down the stack,
along the path of `report_mismatched_types()`, which is used
by `rustc_hir_analysis` and `rustc_hir_typeck`.
- update ui tests, add test
- add suggestions for references to fn pointers
- modify `TypeErrCtxt::same_type_modulo_infer` to take `T: relate::Relate` instead of `Ty`
2023-01-24 14:02:56 -05:00
..
errors Fix #107090, fix missing arguments for fluent 2023-01-18 22:53:24 +08:00
infer Add suggestions for function pointers 2023-01-24 14:02:56 -05:00
traits Store relationships on Inherent 2023-01-22 11:02:28 -03:00
lib.rs Remove #![allow(rustc::potential_query_instability)] from rustc_infer 2022-10-28 15:32:49 +02:00