]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-22370.stderr
Auto merge of #53289 - ljedrz:improve_lexer, r=michaelwoerister
[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:15:10
3    |
4 LL | fn f(a: &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`.