Skip to content

Make -Z treat-err-as-bug accept a number of errors to skip #58983

Closed
@estebank

Description

@estebank

Allow -Z treat-err-as-bug to take a number, in order to make it easier to debug errors that can't be made to be emitted first. In my mind, you'd call rustc -Z treat-err-as-bug 2 on a file with three errors and the first two would be emitted, you'd get the backtrace for the second one, and the third one wouldn't be emitted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions