about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorcsmoe <csmoe@msn.com>2021-02-13 14:45:53 +0800
committercsmoe <csmoe@msn.com>2021-02-13 14:45:53 +0800
commit5385a3d6a779b2e85d47c3fc317796ea3755c11a (patch)
tree94d3dabb29f619128def3bdde7f29294e1a5bc43 /src
parented40b95925ddbe3596eebbca64f776f0f7c57d95 (diff)
downloadrust-5385a3d6a779b2e85d47c3fc317796ea3755c11a.tar.gz
rust-5385a3d6a779b2e85d47c3fc317796ea3755c11a.zip
spell the real selftype
Diffstat (limited to 'src')
-rw-r--r--src/test/ui/async-await/issues/issue-78600.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/async-await/issues/issue-78600.stderr b/src/test/ui/async-await/issues/issue-78600.stderr
index 8e3dc0406fa..92b66147106 100644
--- a/src/test/ui/async-await/issues/issue-78600.stderr
+++ b/src/test/ui/async-await/issues/issue-78600.stderr
@@ -4,7 +4,7 @@ error[E0760]: `async fn` return type cannot contain a projection or `Self` that
 LL |     async fn new(i: &'a i32) -> Result<Self, ()> {
    |                                 ^^^^^^^----^^^^^
    |                                        |
-   |                                        help: consider spelling out the type instead: `std::result::Result<S<'a>, ()>`
+   |                                        help: consider spelling out the type instead: `S<'a>`
 
 error: aborting due to previous error