Files
rust/tests
Jacob Pratt 445a129436 Rollup merge of #156833 - onehr:ice-test-142913, r=TaKO8Ki
Add regression test for const parameter default ICE

Closes rust-lang/rust#142913

This adds a UI regression test for a fixed ICE where a const generic parameter
type mentioned an earlier lifetime and also had a default value.

The reproducer is the minimized version posted in the issue.

Tested:
- ./x test tests/ui/const-generics/generic_const_parameter_types/region-parameter-out-of-range-ice-142913.rs --force-rerun
- ./x test tidy --bless
2026-05-24 16:39:42 +02:00
..