bors 136d74fab8 Auto merge of #116071 - estebank:issue-115905, r=compiler-errors
Point at cause of expectation of `break` value when possible

When encountering a type error within the value of a `break` statement, climb the HIR tree to identify if the expectation comes from an assignment or a return type (if the loop is the tail expression of a `fn`).

Fix #115905.
2023-09-23 06:25:41 +00:00
..
2023-09-19 12:48:40 +00:00
2023-09-22 18:57:27 +03:00
2023-09-21 17:31:25 +02:00
2023-09-21 08:17:58 +02:00
2023-09-19 12:48:40 +00:00
2023-09-19 11:14:35 +02:00
2023-09-21 17:31:25 +02:00