| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-04-03 | Never consider int and float vars for `FnPtr` candidates | Nilstrieb | -0/+10 | |
| This solves a regression where `0.0.cmp()` was ambiguous when a custom trait with a `cmp` method was in scope. FOr integers it shouldn't be a problem in practice so I wasn't able to add a test. | ||||
| 2023-03-27 | Add a builtin `FnPtr` trait | lcnr | -0/+9 | |
| 2023-03-10 | feat: implement better error for manual impl of `Fn*` traits | Ezra Shaw | -0/+28 | |
| 2023-02-22 | diagnostics: update test cases to refer to assoc fn with `self` as method | Michael Howell | -1/+1 | |
| 2023-01-30 | Make structured suggestion for fn casting verbose | Esteban Küber | -12/+18 | |
| 2023-01-30 | Mention fn coercion rules (needs to be expanded) | Esteban Küber | -0/+3 | |
| 2023-01-30 | Modify primary span label for E0308 | Esteban Küber | -13/+12 | |
| The previous output was unintuitive to users. | ||||
| 2023-01-26 | improve fn pointer notes | Matthew J Perez | -1/+9 | |
| - add note and suggestion for casting both expected and found fn items to fn pointers - add note for casting expected fn item to fn pointer | ||||
| 2023-01-25 | Rollup merge of #106897 - estebank:issue-99430, r=davidtwco | Matthias Krüger | -0/+4 | |
| Tweak E0597 CC #99430 | ||||
| 2023-01-24 | Add suggestions for function pointers | Matthew J Perez | -48/+176 | |
| - 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-15 | Tweak E0597 | Esteban Küber | -0/+4 | |
| CC #99430 | ||||
| 2023-01-11 | Move /src/test to /tests | Albert Larsan | -0/+1025 | |
