spell the real selftype
This commit is contained in:
parent
ed40b95925
commit
5385a3d6a7
2 changed files with 33 additions and 36 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue