1
Fork 0

fix tail call checks wrt #[track_caller]

only check the caller + disallow caller having the attr.
This commit is contained in:
Waffle Lapkin 2025-01-24 04:19:10 +01:00
parent 99768c80a1
commit 992e3b4f03
No known key found for this signature in database
6 changed files with 92 additions and 34 deletions

View file

@ -1,11 +0,0 @@
//@ known-bug: #134336
#![expect(incomplete_features)]
#![feature(explicit_tail_calls)]
trait Tr {
fn f();
}
fn g<T: Tr>() {
become T::f();
}