Skip to content

rustc should delete the source file on a type error #950

Closed
@pcwalton

Description

@pcwalton

This feature was added to GHC; we should support it for feature parity.

See https://twitter.com/bos31337/status/116372971509121025 for more information.

Note that when a type error occurs during macro expansion, we should probably delete the file that called the macro, not the macro itself. Alternately, we could ask the user which file we should delete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions