racer-rust / racer

Rust Code Completion utility
MIT License
3.36k stars 278 forks source link

No autocompletion for arguments of async functions #1087

Closed vkurchatkin closed 4 years ago

vkurchatkin commented 4 years ago

I'm using rls 1.40.0 (5db91c7 2019-10-30) with vscode. I get not autocompletion for s in this code:

async fn test(s: &str) {
}

If I alias s with and explicit annotation, it works fine:

async fn test(s: &str) {
    let s: &str = s;
}
vkurchatkin commented 4 years ago

Works fine on nightly, so probably already fixed