diff options
| author | Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> | 2023-11-21 14:36:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-21 14:36:14 +0100 |
| commit | 4bb3ae39b7284b1f0599b2c4cb84e52324c40052 (patch) | |
| tree | b213e843801cd7198d45286d3389fac9d6607000 /compiler/rustc_codegen_gcc | |
| parent | cbadb2e1c03d7ee8558fc4e21b99cc4dc8a19576 (diff) | |
| parent | f68c6c9528606e3d8e31dac47af95b568372c644 (diff) | |
| download | rust-4bb3ae39b7284b1f0599b2c4cb84e52324c40052.tar.gz rust-4bb3ae39b7284b1f0599b2c4cb84e52324c40052.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
