rust/tests/ui/resolve/issue-120559.rs

6 lines
116 B
Rust
Raw Normal View History

use std::io::Read;
fn f<T: Read, U, Read>() {} //~ ERROR expected trait, found type parameter `Read`
fn main() {}