about summary refs log tree commit diff
path: root/tests/ui/resolve/issue-120559.stderr
blob: 9150fb38ad5cef30f95cf93e9cb2ec271d8f142d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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`.