mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-31 05:26:23 +03:00
445a129436
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