]>
Commit | Line | Data |
---|---|---|
ff7c6d11 | 1 | error[E0393]: the type parameter `T` must be explicitly specified |
dc9dc135 | 2 | --> $DIR/issue-22370.rs:3:14 |
ff7c6d11 | 3 | | |
dfeec247 XL |
4 | LL | trait A<T=Self> {} |
5 | | ------------------ type parameter `T` must be specified for this | |
6 | LL | | |
dc9dc135 | 7 | LL | fn f(a: &dyn A) {} |
dfeec247 | 8 | | ^ help: set the type parameter to the desired type: `A<T>` |
ff7c6d11 XL |
9 | | |
10 | = note: because of the default `Self` reference, type parameters must be specified on object types | |
11 | ||
12 | error: aborting due to previous error | |
13 | ||
0531ce1d | 14 | For more information about this error, try `rustc --explain E0393`. |