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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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() {}