Skip to content
This repository was archived by the owner on Dec 29, 2022. It is now read-only.
This repository was archived by the owner on Dec 29, 2022. It is now read-only.

Renaming lib.rs to main.rs and vice versa breaks RLS #166

@KalitaAlexey

Description

@KalitaAlexey

Hi everybody.
Steps:

  • Execute:
cargo new t
  • Open VSCode (I used both vscode-rust and rls_vscode).
  • Open the created project
  • Rename lib.rs to main.rs
  • Enter something
  • RLS shows that analysis is performing, but no diagnostics are shown
  • Rename main.rs to lib.rs
  • Enter something
  • RLS shows that analysis is performing and diagnostics are shown.

Note:
rls_vscode also shows the second status bar item "RLS Analysis".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions