Skip to content

rust-analyzer reports errors parsing that are accepted by rustc #3571

@samuela

Description

@samuela

I have a file (https://github.com/samuela/rustybox/blob/master/procps/ps.rs) that rust-analyzer complains about. Specifically, it's not happy with the ellipsis type here: https://github.com/samuela/rustybox/blob/master/procps/ps.rs#L18:
Screenshot from 2020-03-12 19-44-14

However, the file is syntactically correct and the project compiles fine as of all recent rust versions including

  nightly-x86_64-unknown-linux-gnu updated - rustc 1.43.0-nightly (c20d7eecb 2020-03-11) (from rustc 1.43.0-nightly (158127853 2020-03-10))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions