rust/compiler/rustc_hir_analysis/src
Matthias Krüger 0e79b8914d
Rollup merge of #143106 - yotamofek:pr/gce/non-local-ice, r=BoxyUwU
gce: don't ICE on non-local const

Fixes rust-lang/rust#133808

I have absolutely no idea what I'm doing here, but I followed `@BoxyUwU` 's [instructions](https://github.com/rust-lang/rust/issues/133808#issuecomment-3009122957), and turns out this small change fixes rust-lang/rust#133808, and doesn't seem to break anything else.
(This code path is only reachable when the GCE feature gate is enabled, so even if it does break in a way that is not caught by current test coverage, I guess it's not as bad as breaking stable or non-incomplete features?)

Anyways, r? `@BoxyUwU` , if you don't mind.
2025-06-27 22:13:07 +02:00
..
check Rollup merge of #139858 - oli-obk:new-const-traits-syntax, r=fee1-dead 2025-06-27 22:13:00 +02:00
coherence Remove some glob imports from the type system 2025-06-25 15:35:16 +00:00
collect Rollup merge of #143106 - yotamofek:pr/gce/non-local-ice, r=BoxyUwU 2025-06-27 22:13:07 +02:00
errors Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
hir_ty_lowering Rollup merge of #143104 - davidtwco:issue-142652-dyn-pointeesized-deny, r=compiler-errors 2025-06-27 22:13:07 +02:00
impl_wf_check Change const trait bound syntax from ~const to [const] 2025-06-26 13:46:45 +00:00
outlives Fix some var names 2025-05-27 11:14:47 +00:00
variance Fix some var names 2025-05-27 11:14:47 +00:00
autoderef.rs FIXME(-Znext-solver) triage 2025-06-03 14:23:56 +02:00
check_unused.rs Move methods from Map to TyCtxt, part 4. 2025-03-12 08:55:37 +11:00
collect.rs Report infer ty errors during hir ty lowering 2025-06-27 07:51:38 +00:00
constrained_generic_params.rs Remove weak alias terminology 2025-04-24 11:59:20 +01:00
delegation.rs Use more slicing and slice interning over iterable interning 2025-06-13 01:16:01 +02:00
errors.rs hir_analysis: prohibit dyn PointeeSized 2025-06-27 17:01:47 +00:00
hir_wf_check.rs Merge unboxed trait object error suggestion into regular dyn incompat error 2025-06-13 13:54:06 +00:00
impl_wf_check.rs Move name field from AssocItem to AssocKind variants. 2025-04-15 08:07:15 +10:00
lib.rs Use gen blocks in the compiler instead of from_coroutine 2025-06-20 18:57:52 +00:00