Skip to content

ERROR Async fn ret_type should be impl Future #17665

Closed Answered by larsnystrom
larsnystrom asked this question in Q&A
Discussion options

You must be logged in to vote

The $RUSTUP_HOME directory was owned by root, so rustup component add rust-src didn't work (at first I thought it was a proxy issue, because it said it couldn't download the file, but it was rather that it couldn't write to the target dir). I fixed the permissions, did rustup component add rust-src and reloaded VSCode and now it works! Thank you for your help!

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@lnicola
Comment options

@larsnystrom
Comment options

@lnicola
Comment options

@larsnystrom
Comment options

Answer selected by lnicola
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants