Skip to content
This repository has been archived by the owner on Jun 7, 2022. It is now read-only.

Completions are returning 204 No Content for external crates without extern crate statement #78

Open
eatsfoobars opened this issue May 25, 2019 · 0 comments

Comments

@eatsfoobars
Copy link

use rand::||;
fn main() {
    println!("Hello, world!");
}

The following snippet (with || being the cursor location) will return no completions with YCM, but works just fine with e.g. vim-racer. Adding an extern crate line above it fixes that.

std:: completions work out of the box.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant