ERROR Async fn ret_type should be impl Future #17665
-
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            larsnystrom
          
      
      
        Jul 22, 2024 
      
    
    Replies: 1 comment 5 replies
-
| 
         Do you get a tooltip if you hover on that warning sign?  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    5 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    

The $RUSTUP_HOME directory was owned by root, so
rustup component add rust-srcdidn'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, didrustup component add rust-srcand reloaded VSCode and now it works! Thank you for your help!