mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
12 lines
152 B
Rust
12 lines
152 B
Rust
//@ known-bug: #134336
|
|
#![expect(incomplete_features)]
|
|
#![feature(explicit_tail_calls)]
|
|
|
|
trait Tr {
|
|
fn f();
|
|
}
|
|
|
|
fn g<T: Tr>() {
|
|
become T::f();
|
|
}
|