Skip to content

Cargo doesn't always produce diagnostics #5560

@mooman219

Description

@mooman219

Running cargo check will produce no output until a file is modified. The GIF shows this happening in the integrated terminal, but this also happens when running in a stand-alone terminal. Cargo will produce no errors when it fails to produce debug information.

It will display diagnostic information only after the file is modified again. Is this intended behavior? If so, could there be a flag to force the re-generation of diagnostic information for the crate?

gif
(Imgur link https://imgur.com/a/bohAtqk)

Version: cargo 1.27.0-nightly (9e53ac6 2018-05-07)

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