vscode-rust icon indicating copy to clipboard operation
vscode-rust copied to clipboard

Hovering over error reveals documentation

Open bifunctor opened this issue 4 years ago • 0 comments

Hello, I've just gotten Rust setup on VSCode. Whenever I have an error in my code, I try to hover over it, and the documentation immediately covers it up. For example, here:

fn main() {
    let mut num = String::new();
    let mut string = String::new();
    io::stdin().read_line(&mut num).unwrap();
    io::stdin().read_line(&mut string).unwrap();
    println!("{}\n{}", num.trim().parse().unwrap() * 2, string);
}

When I hover over parse, parse's docs come up instead of the error.

bifunctor avatar Nov 24 '20 23:11 bifunctor