A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/phildawes/racer/issues/389 below:

Determine return types for macros (such as vec![]) · Issue #389 · racer-rust/racer · GitHub

I've seen issues discussing autocomplete on macros and jumping to definitions, but I've also noticed that racer can't tell vec![] is of type Vec.

As a result, racer can't offer any completions here:

fn main() {
    let m = vec![];
    m.
}

even though using an explicit Vec creation is fine:

fn main() {
    let m = Vec::new();
    m.
}

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4