Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

calling rustc --parse-only only detects simple syntax errors #947

Closed
@Ghoughpteighbteau

Description

@Ghoughpteighbteau

Warnings and logical errors are not detectable with this option.

Using syntastic 6c97353 (current as of writing)
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 12 2013 00:23:33)
and rustc 0.9

some cursory work suggests that --no-trans would be more suitable than --parse-only. Though that's a complete guess, I don't know what the heck that option does 😅 but it does detect compile errors and show warnings

I have asked the devs for their opinion on this matter here: rust-lang/rust#3808

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