Skip to content

vec! - could not resolve macro $crate::__export::force_expr #7349

Closed
@GrygrFlzr

Description

@GrygrFlzr

Extension: 0.3.458-nightly
Server: rust-analyzer 5231f4b
VS Code:

Version: 1.52.1 (user setup)
Commit: ea3859d4ba2f3e577a159bc91e3074c5d85c0523
Date: 2020-12-16T16:34:46.910Z
Electron: 9.3.5
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Windows_NT x64 10.0.19042

Minimal case - main.rs

fn main() {
    let data = vec![1, 2, 3];
    println!("{:?}", data);
}

Underlines vec![1, 2, 3] with

could not resolve macro `$crate::__export::force_expr`

Tested with procedural macro and build script support both enabled/disabled.
Disabled all other extensions and commented out entire VS Code settings, still no dice.
Used to work but started breaking within the last couple days, I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macromacro expansionS-actionableSomeone could pick this issue up and work on it right now

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions