Commit 6032311
committed
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.File tree
0 file changed
+0
-0
lines changed0 file changed
+0
-0
lines changed
0 commit comments