blob: 3c259bd9e97cc08c2d3e04eaf57ac048d94924d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0792]: expected generic type parameter, found `<T as TraitWithAssoc>::Assoc`
--> $DIR/bound_reduction2.rs:16:5
|
LL | type Foo<V> = impl Trait<V>;
| - this generic parameter must be used with a generic type parameter
...
LL | ()
| ^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0792`.
|