Nilstrieb 4bb3ae39b7
Rollup merge of #118035 - ouz-a:november_ice2, r=compiler-errors
Fix early param lifetimes in generic_const_exprs

In cases like below, we never actually be able to capture region name for two reasons, first `'static` becomes anonymous lifetime and second we never capture region if it doesn't have a name so this results in ICE.
```
struct DataWrapper<'static> {
    data: &'a [u8; Self::SIZE],
}

impl DataWrapper<'a> {
```

Fixes https://github.com/rust-lang/rust/issues/118021
2023-11-21 14:36:14 +01:00
..
2023-11-13 16:25:16 -08:00
2023-11-16 17:00:23 +00:00
2023-11-09 10:40:55 -05:00
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +00:00
2023-11-14 13:41:28 +00:00
2023-11-16 17:00:23 +00:00
2023-11-16 17:00:23 +00:00