fix tail call checks wrt #[track_caller]
only check the caller + disallow caller having the attr.
This commit is contained in:
parent
99768c80a1
commit
992e3b4f03
6 changed files with 92 additions and 34 deletions
|
@ -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();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue