about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-04-24 20:41:37 -0700
committerMichael Goulet <michael@errs.io>2022-04-26 18:55:55 -0700
commitf9e7489f87f910c2ee87b7cf1052e368c1f191b6 (patch)
treedec3e28926162930ffa9bafe64e1558cf3564dd2 /src
parentae42f22ba055337f802b02b8c07e999bd52ec01d (diff)
downloadrust-f9e7489f87f910c2ee87b7cf1052e368c1f191b6.tar.gz
rust-f9e7489f87f910c2ee87b7cf1052e368c1f191b6.zip
TAITs are suggestable
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/type-alias-impl-trait/issue-77179.stderr5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/ui/type-alias-impl-trait/issue-77179.stderr b/src/test/ui/type-alias-impl-trait/issue-77179.stderr
index f9a1eaca384..053546e4b92 100644
--- a/src/test/ui/type-alias-impl-trait/issue-77179.stderr
+++ b/src/test/ui/type-alias-impl-trait/issue-77179.stderr
@@ -2,7 +2,10 @@ error[E0121]: the placeholder `_` is not allowed within types on item signatures
   --> $DIR/issue-77179.rs:7:22
    |
 LL | fn test() -> Pointer<_> {
-   |                      ^ not allowed in type signatures
+   |              --------^-
+   |              |       |
+   |              |       not allowed in type signatures
+   |              help: replace with the correct return type: `Pointer<i32>`
 
 error: aborting due to previous error