diff options
| author | Matthew J Perez <matt@mperez.io> | 2022-12-11 02:49:07 -0500 |
|---|---|---|
| committer | Matthew J Perez <matt@mperez.io> | 2023-01-24 14:02:56 -0500 |
| commit | 1e22280f231e02b9ec8624e16b473b4082d7dfad (patch) | |
| tree | d8cd1c05e065926b604fcbb4f7290d06a68d09f2 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff | |
| parent | c8e6a9e8b6251bbc8276cb78cabe1998deecbed7 (diff) | |
| download | rust-1e22280f231e02b9ec8624e16b473b4082d7dfad.tar.gz rust-1e22280f231e02b9ec8624e16b473b4082d7dfad.zip | |
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`
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions
