rust/compiler/rustc_hir_analysis
Matthias Krüger d37de53425
Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compiler-errors
Silence some follow-up errors [1/x]

this is one piece of the requested cleanups from https://github.com/rust-lang/rust/pull/117449

When we use `-> impl SomeTrait<_>` as a return type, we are both using the "infer return type suggestion" code path, and the infer opaque type code path within the same function. That can lead to confusing diagnostics, so silence all opaque type diagnostics in that case.
2024-01-11 03:02:43 +01:00
..
src Rollup merge of #119803 - oli-obk:even_more_follow_up_errors, r=compiler-errors 2024-01-11 03:02:43 +01:00
Cargo.toml Disallow reference to static mut for expressions 2024-01-06 06:31:35 +03:00
messages.ftl Disallow reference to static mut for expressions 2024-01-06 06:31:35 +03:00
README.md rustc_typeck to rustc_hir_analysis 2022-09-27 10:37:23 +02:00

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