mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
15 lines
426 B
Plaintext
15 lines
426 B
Plaintext
error[E0404]: expected trait, found type parameter `Read`
|
|
--> $DIR/issue-120559.rs:3:9
|
|
|
|
|
LL | use std::io::Read;
|
|
| ---- you might have meant to refer to this trait
|
|
LL |
|
|
LL | fn f<T: Read, U, Read>() {}
|
|
| ^^^^ ---- found this type parameter
|
|
| |
|
|
| not a trait
|
|
|
|
error: aborting due to 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0404`.
|