rust/tests/ui/methods/method-call-type-binding.rs
2024-05-30 22:52:33 +02:00

4 lines
98 B
Rust

fn main() {
0.clone::<T = u8>(); //~ ERROR associated item constraints are not allowed here
}