rust/compiler/rustc_hir_analysis
Matthias Krüger 1ae083ddd5
Rollup merge of #138238 - compiler-errors:dyn-suggestion-in-struct, r=nnethercote
Fix dyn -> param suggestion in struct ICEs

Makes the logic from #138042 a bit less ICEy and more clean. Also fixes an incorrect suggestion when the struct already has generics. I'll point out the major changes and observations in the code.

Fixes #138229
Fixes #138211

r? nnethercote since you reviewed the original pr, or re-roll if you don't want to review this
2025-03-10 09:32:14 +01:00
..
src Rollup merge of #138238 - compiler-errors:dyn-suggestion-in-struct, r=nnethercote 2025-03-10 09:32:14 +01:00
Cargo.toml Specify rust lints for compiler/ crates via Cargo. 2025-03-08 08:41:09 +11:00
messages.ftl Rollup merge of #137808 - jswrenn:droppy-unsafe-fields, r=nnethercote 2025-03-06 12:22:19 -05:00
README.md

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