1 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
2 --> $DIR/self-infer.rs:4:16
5 | ^ not allowed in type signatures
7 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
8 --> $DIR/self-infer.rs:5:17
10 LL | fn g(self: &_) {}
11 | ^ not allowed in type signatures
13 error: aborting due to 2 previous errors
15 For more information about this error, try `rustc --explain E0121`.