Files
rust/compiler/rustc_typeck
Matthias Krüger b0b798e1e2 Rollup merge of #100094 - lyming2007:issue-98982, r=estebank
Detect type mismatch due to loop that might never iterate

When loop as tail expression causes a miss match type E0308 error, recursively get the return statement and add diagnostic information on it.
2022-08-06 16:15:56 +02:00
..
…

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.