Skip to content

Support for file checking beyond syntactic correctness #67

Closed
@jonhoo

Description

@jonhoo

Currently, the syntastic integration (which will hopefully soon also be used by neomake) runs rustc with -Zparse-only to check a particular file. While this is fine, it doesn't catch the vast majority of errors that come up during development.

Obviously, just dropping -Zparse-only won't work, as the compiler will complain about missing imports/types, but maybe some kind of integration with cargo could work? Maybe look up the file tree to find Cargo.toml, run cargo build, and parse out any warning/error that pertains to the currently open file? It's not pretty, but would be extremely useful!

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