Closed
Description
This is ICE since 1.50.0, error -> ICE.
struct S;
impl S {
fn func<'a, U>(self) -> U {
todo!()
}
}
fn dont_crash<'a, U>() {
S.func::<'a, dont_crash>()
}
fn main() {}
Originally posted by @chengniansun in #82792 (comment)
Metadata
Metadata
Assignees
Labels
Area: const generics (parameters and arguments)Category: This is a bug.Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️Medium priorityRelevant to the compiler team, which will review and decide on the PR/issue.ICE tracked in rust-lang/glacier.Performance or correctness regression from one stable version to another.