about summary refs log tree commit diff
path: root/tests/ui/fn/fn-pointer-mismatch.rs
AgeCommit message (Collapse)AuthorLines
2025-04-30compiletest: Make diagnostic kind mandatory on line annotationsVadim Petrochenkov-11/+13
2023-12-07recurse into refs when comparing tys for diagnosticsjyn-6/+6
2023-01-24Add suggestions for function pointersMatthew J Perez-0/+56
- 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`