]> git.lizzy.rs Git - rust.git/blob - src/test/ui/type-alias-impl-trait/issue-77179.stderr
Auto merge of #95454 - randomicon00:fix95444, r=wesleywiser
[rust.git] / src / test / ui / type-alias-impl-trait / issue-77179.stderr
1 error[E0121]: the placeholder `_` is not allowed within types on item signatures for return types
2   --> $DIR/issue-77179.rs:7:22
3    |
4 LL | fn test() -> Pointer<_> {
5    |              --------^-
6    |              |       |
7    |              |       not allowed in type signatures
8    |              help: replace with the correct return type: `Pointer<i32>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0121`.