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

No errors / warnings are reported by extension when async-std with attributes feature is used #755

@Gozala

Description

@Gozala

Here is a minimal reproducible test case I've created to illustrate the issue. Running cargo check reports issues as expected:

cargo check
    Checking adder v0.1.0 (/Users/gozala/Projects/rls-vscode-bug-report/adder)
error: cannot find macro `println2` in this scope
  --> adder/src/main.rs:2:5
   |
2  |       println2!("Hello, world!");
   |       ^^^^^^^^ help: a macro with a similar name exists: `println`

error: aborting due to previous error

error: could not compile `adder`.

To learn more, run the command again with --verbose.

Plugin however does not display this error, instead it reports error in
Cargo.toml.

screenshot

VSCode settings are included in the repo .vscode/settings.json.

Including additional setup information:

rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/gozala/.rustup

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

active toolchain
----------------

nightly-x86_64-apple-darwin (default)
rustc 1.44.0-nightly (f509b26a7 2020-03-18)

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