1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
2 --> $DIR/self-infer.rs:4:16
5 | ^ not allowed in type signatures
7 help: use type parameters instead
9 LL | fn f<T>(self: T) {}
12 error[E0121]: the placeholder `_` is not allowed within types on item signatures for functions
13 --> $DIR/self-infer.rs:5:17
15 LL | fn g(self: &_) {}
16 | ^ not allowed in type signatures
18 help: use type parameters instead
20 LL | fn g<T>(self: &T) {}
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0121`.