rust/compiler/rustc_middle
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 Use rustc_thread_pool instead of rustc-rayon-core 2025-06-11 12:26:42 -07:00
messages.ftl const-eval: allow constants to refer to mutable/external memory, but reject such constants as patterns 2025-06-26 18:09:47 +02:00
README.md mv compiler to compiler/ 2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.