| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2023-12-07 | recurse into refs when comparing tys for diagnostics | jyn | -14/+14 | |
| 2023-11-24 | Show number in error message even for one error | Nilstrieb | -11/+11 | |
| Co-authored-by: Adrian <adrian.iosdev@gmail.com> | ||||
| 2023-11-02 | Pretty print Fn traits in rustc_on_unimplemented | Michael Goulet | -3/+3 | |
| 2023-10-08 | remove trailing dots | Ali MJ Al-Nasrawy | -1/+1 | |
| 2023-10-08 | always show and explain sub region | Ali MJ Al-Nasrawy | -1/+3 | |
| 2023-09-19 | rustc_hir_analysis: add a helper to check function the signature mismatches | Eduardo Sánchez Muñoz | -2/+2 | |
| This function is now used to check `#[panic_handler]`, `start` lang item, `main`, `#[start]` and intrinsic functions. The diagnosis produced are now closer to the ones produced by trait/impl method signature mismatch. | ||||
| 2023-09-06 | Add explanatory note to 'expected item' error | Gurinder Singh | -0/+2 | |
| 2023-08-30 | Test and note unsafe ctor to fn ptr coercion | Michael Goulet | -3/+0 | |
| Also remove a note that I don't consider to be very useful in context. | ||||
| 2023-05-08 | Move tests | Caio | -0/+25 | |
| 2023-04-22 | add known-bug test for unsound issue 100051 | whtahy | -0/+31 | |
| 2023-04-22 | add known-bug test for unsound issue 84533 | whtahy | -0/+37 | |
| 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 | |
