Matthias Krüger
7bfccb3d7f
Rollup merge of #108687 - compiler-errors:reformulate-point_at_expr_source_of_inferred_type, r=oli-obk
...
Reformulate `point_at_expr_source_of_inferred_type` to be more accurate
Be more accurate when deducing where along the several usages of a binding it is constrained to be some type that is incompatible with an expectation.
This also renames the method to `note_source_of_type_mismatch_constraint` because I prefer that name, though I guess I can revert that. (Also drive-by rename `note_result_coercion` -> `suggest_coercing_result_via_try_operator`, because it's suggesting, not noting!)
This PR is (probably?) best reviewed per commit, but it does regress a bit only to fix it later on, so it could also be reviewed as a whole if that makes the final results more clear.
r? `@estebank`
2023-04-14 21:11:10 +02:00
..
2023-01-30 20:12:19 +00:00
2023-01-12 22:04:30 +00:00
2023-03-02 18:27:06 +00:00
2023-04-12 23:05:55 +00:00
2023-01-23 17:02:50 +00:00
2023-04-12 23:05:55 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-04-12 22:50:10 +00:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-01-30 20:12:19 +00:00
2023-03-01 16:57:11 +00:00
2023-04-12 22:50:10 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-16 11:42:35 -03:00
2023-02-16 11:42:35 -03:00
2023-01-11 21:38:54 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-01-30 20:12:19 +00:00
2023-02-22 08:40:47 -07:00
2023-02-03 11:44:23 +00:00
2023-02-03 11:44:23 +00:00
2023-02-03 11:44:23 +00:00
2023-02-06 13:02:04 +08:00
2023-02-13 16:23:23 +01:00
2023-04-12 18:03:11 -04:00
2023-02-28 07:55:19 +00:00
2023-02-28 07:57:17 +00:00
2023-01-30 20:12:19 +00:00
2023-02-28 07:55:19 +00:00
2023-02-28 07:55:19 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-22 21:52:26 +00:00
2023-03-12 13:19:46 +00:00
2023-03-12 13:19:46 +00:00
2023-01-23 16:53:23 +00:00
2023-01-23 16:53:23 +00:00
2023-02-07 23:08:25 +00:00
2023-04-12 23:20:11 +00:00
2023-04-11 17:17:32 +00:00
2023-04-11 17:17:32 +00:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-02-14 20:22:10 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-14 20:22:10 +00:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-08 08:18:29 +00:00
2023-04-08 08:18:29 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00
2023-04-02 19:42:30 -04:00