]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22370.stderr
Rollup merge of #62337 - Mark-Simulacrum:fix-cpu-usage-script, r=alexcrichton
[rust.git] / src / test / 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 | fn f(a: &dyn A) {}
5    |              ^ missing reference to `T`
6    |
7    = note: because of the default `Self` reference, type parameters must be specified on object types
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0393`.