ICE: unexpected borrowck region with type_alias_impl_trait
with lifetime
#109054
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
F-type_alias_impl_trait
`#[feature(type_alias_impl_trait)]`
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Explicitly giving lifetimes to
FnType
withfor<'a> FnOnce(&'a u32) -> ReturnType<'a>
and doing the same oninner
does not fix the ICE either.Meta
Version
rustc 1.70.0-nightly (8a73f50d8 2023-03-11)
Error output
The text was updated successfully, but these errors were encountered: