Skip to content

Calling rustc with non-existing file gives ... is not UTF-8 #6424

Closed
@kud1ing

Description

@kud1ing

rustc nonexistingfile gives error: nonexistingfile is not UTF-8.
A better error message would be in the tone of "nonexistingfile does not exist".

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-frontendArea: Compiler frontend (errors, parsing and HIR)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