Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

[dev-dependencies] are not taken into account #99

Closed
rohel01 opened this issue Jul 26, 2017 · 3 comments
Closed

[dev-dependencies] are not taken into account #99

rohel01 opened this issue Jul 26, 2017 · 3 comments
Labels

Comments

@rohel01
Copy link

rohel01 commented Jul 26, 2017

Fedora 25 x86_64
VSCode 1.14.2
Rust (rls) 0.1.0

Rust toolchain installed with rustup and up to date.

Dependencies added in the [dev-dependencies] section of the Cargo.toml are not picked up by the Rust (rls) extension. I get the following error

severity: 'Error'
message: 'use of unstable library feature 'rustc_private': this crate is being loaded from the sysroot, and unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead? (see issue #27812)'
at: '7,1'
source: 'rustc'

If I move the dependency in the [dependencies] section and restart VScode (see #98), the error goes away.

@nrc
Copy link
Member

nrc commented Aug 7, 2017

cc rust-lang/rls#169

@nrc nrc added the bug label Oct 30, 2017
Xanewok pushed a commit to Xanewok/rls-vscode that referenced this issue Mar 27, 2019
@Xanewok
Copy link
Member

Xanewok commented Apr 7, 2019

This works as expected and was fixed with rust-lang/rls#801.

@Xanewok Xanewok closed this as completed Apr 7, 2019
@phra
Copy link

phra commented Jun 11, 2019

is this happening again?

image

matklad pushed a commit to matklad/vscode-rust that referenced this issue Jul 13, 2020
99: Dynamically apply highlightingOn config r=matklad a=aochagavia

Fixes rust-lang#84

Co-authored-by: Adolfo Ochagavía <aochagavia92@gmail.com>
matklad pushed a commit to matklad/vscode-rust that referenced this issue Jul 13, 2020
302: WIP: Support tracing lsp requests. r=DJMcNab a=DJMcNab

EDIT: We need to work out a better way to handle settings before this can be merged. Help wanted

TODO: Debug why decorations are sent even when highlightingOn is disabled
This makes the log volume so high its impossible to work with anyway.
(Continuation of rust-lang#84 [rust-lang#99 only disabled using it, not making sure we don't send it]).

These logs can be used in https://microsoft.github.io/language-server-protocol/inspector/

Co-authored-by: DJMcNab <36049421+djmcnab@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants