rust/compiler/rustc_hir_analysis/src/check
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
..
compare_impl_item Rename unpack to kind 2025-05-27 11:14:45 +00:00
always_applicable.rs Directly fetch the impl self type 2025-04-02 07:30:11 +00:00
check.rs rename RegionVariableOrigin::MiscVariable to RegionVariableOrigin::Misc 2025-06-25 15:35:18 +00:00
compare_impl_item.rs Remove some glob imports from the type system 2025-06-25 15:35:16 +00:00
entry.rs Rewrite #[track_caller] 2025-06-24 23:00:31 +02:00
intrinsic.rs intrinsics: rename min_align_of to align_of 2025-06-12 17:50:25 +02:00
mod.rs compiler: Remove unsupported_fn_ptr_calling_conventions lint 2025-06-23 09:39:59 -07:00
region.rs Add comment. 2025-06-13 09:20:55 +02:00
wfcheck.rs Rollup merge of #142927 - compiler-errors:note-find-const, r=BoxyUwU 2025-06-26 20:15:22 -04:00