rust-analyzer/rust-analyzer.github.io

[FEATURE REQUEST] Inlay hints - show from what module item is used

grappas opened this issue · 1 comments

i.e.
we import module:

use std::env::args;

and we arm args:

    let args: Vec<String> = args().collect();

What would be nice is to optionally see in inlay hints from where args() is coming from

    //----------------------VVVVVVVV - that would be greyed out without writing it
    let args: Vec<String> = std::env::args().collect();

That would increase readability. Especially for new rustaceans. :)

Wrong repo xD