]> git.proxmox.com Git - rustc.git/blame - src/test/ui/issues/issue-22370.stderr
New upstream version 1.60.0+dfsg1
[rustc.git] / src / test / ui / issues / issue-22370.stderr
CommitLineData
ff7c6d11 1error[E0393]: the type parameter `T` must be explicitly specified
dc9dc135 2 --> $DIR/issue-22370.rs:3:14
ff7c6d11 3 |
dfeec247
XL
4LL | trait A<T=Self> {}
5 | ------------------ type parameter `T` must be specified for this
6LL |
dc9dc135 7LL | 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
12error: aborting due to previous error
13
0531ce1d 14For more information about this error, try `rustc --explain E0393`.