Skip to content

rustc on error always prints the same two "task failed" lines #10036

Closed
@ben0x539

Description

task '<unnamed>' failed at 'explicit failure', /build/rust-git/src/rust/src/libsyntax/diagnostic.rs:101
task '<unnamed>' failed at 'explicit failure', /build/rust-git/src/rust/src/librustc/rustc.rs:395

It's more messy than informative, isn't it?

This might go away when rustc stops unwinding and just aborts, but I wonder whether we oughtn't have some way to suppress those messages, since I imagine a lot of commandliney programs that use unwinding won't want to expose their internal task failures to the console, unless they're tearing down the entire runtime with linked failure.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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