rust/tests/ui/rfcs/rfc-2396-target_feature-11
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
..
check-pass.rs
closures-inherit-target_feature.rs
feature-gate-target_feature_11.rs
feature-gate-target_feature_11.stderr
fn-ptr.mir.stderr
fn-ptr.rs
fn-ptr.thir.stderr Add suggestions for function pointers 2023-01-24 14:02:56 -05:00
fn-traits.rs
fn-traits.stderr
issue-99876.rs
safe-calls.mir.stderr
safe-calls.rs
safe-calls.thir.stderr
trait-impl.rs
trait-impl.stderr