Skip to content

Can no longer go to (any) documentation/definitions of any standard types/primitives/keywords in rustlings #289

Closed
@razlani

Description

@razlani

Editor: CLion 2019.3
IntelliJ Rust plugin: 0.2.119.2172-193
Rustup:

stable-x86_64-pc-windows-msvc (default)
rustc 1.42.0 (b8cedc004 2020-03-09)

I used to be able to go to base definition/bring up quick documentation within CLion in the rustlings repo upon using the relevant shortcuts.

I've tried cargo doc/clean/build with no joy.

Doing a:

cargo new project-name

And going to the same snippets of code in another project correctly navigates me to documentation/definition. For example copy/pasting the std library modules in main:

fn main() {
    use std::error;
    use std::fmt;
    use std::io;
    
    println!("Hello, world!");
}

Outside of rustlings, I can print documentation on the print macro for example, or 'use declaration' on the std::io module to navigate to the std library type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions