granite-rust/compiler/rustc_typeck
Matthias Krüger 836f706d9a
Rollup merge of #100338 - lyming2007:issue-100285-fix, r=petrochenkov
when there are 3 or more return statements in the loop

emit the first 3 errors and duplicated diagnostic information
	modified:   compiler/rustc_typeck/src/check/coercion.rs
	new file:   src/test/ui/typeck/issue-100285.rs
	new file:   src/test/ui/typeck/issue-100285.stderr
2022-08-16 06:05:55 +02:00
..
src Rollup merge of #100338 - lyming2007:issue-100285-fix, r=petrochenkov 2022-08-16 06:05:55 +02:00
Cargo.toml Improve error message for unstable default body 2022-07-26 15:40:04 +04:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

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