]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-22370.stderr
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-22370.stderr
1 error[E0393]: the type parameter `T` must be explicitly specified
2 --> $DIR/issue-22370.rs:3:14
3 |
4 LL | trait A<T=Self> {}
5 | --------------- type parameter `T` must be specified for this
6 LL |
7 LL | fn f(a: &dyn A) {}
8 | ^ help: set the type parameter to the desired type: `A<T>`
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
14 For more information about this error, try `rustc --explain E0393`.