1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
2 --> $DIR/issue-80779.rs:10:28
4 LL | pub fn g(_: T<'static>) -> _ {}
7 | not allowed in type signatures
8 | help: replace with the correct return type: `()`
10 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
11 --> $DIR/issue-80779.rs:5:29
13 LL | pub fn f<'a>(val: T<'a>) -> _ {
16 | not allowed in type signatures
17 | help: replace with the correct return type: `()`
19 error: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0121`.