mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 10:13:54 +00:00
4bb3ae39b7
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |