blob: 0cd4e204278ac18b6ad0d19b14c17915e29e0ab6 [file] [log] [blame]
// Ensure that we anonymize the output of a function for tail call signature compatibility.
//@ check-pass
#![feature(explicit_tail_calls)]
#![expect(incomplete_features)]
fn foo() -> for<'a> fn(&'a ()) {
become bar();
}
fn bar() -> for<'b> fn(&'b ()) {
todo!()
}
fn main() {}