about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorMatthew J Perez <matt@mperez.io>2022-12-11 02:49:07 -0500
committerMatthew J Perez <matt@mperez.io>2023-01-24 14:02:56 -0500
commit1e22280f231e02b9ec8624e16b473b4082d7dfad (patch)
treed8cd1c05e065926b604fcbb4f7290d06a68d09f2 /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.diff
parentc8e6a9e8b6251bbc8276cb78cabe1998deecbed7 (diff)
downloadrust-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