rust/compiler/rustc_hir_analysis
Michael Goulet d712024aee
Rollup merge of #142927 - compiler-errors:note-find-const, r=BoxyUwU
Add note to `find_const_ty_from_env`

Add a note to `find_const_ty_from_env` to explain why it has an `unwrap` which "often" causes ICEs.

Also, uplift it into the new trait solver. This avoids needing to go through the interner to call this method which is otherwise an inherent method in the compiler. I can remove this part if desired.

r? `@boxyuwu`
2025-06-26 20:15:22 -04:00
..
src Rollup merge of #142927 - compiler-errors:note-find-const, r=BoxyUwU 2025-06-26 20:15:22 -04:00
Cargo.toml introduce new lint infra 2025-06-12 09:56:47 +02:00
messages.ftl compiler: Trim the misleading C of C-cmse from errors 2025-06-25 00:52:10 -07: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.