Skip to content

"file not found" error message should be friendlier #275

Closed
@catamorphism

Description

@catamorphism

If I do:
$ rustc some-file-that-doesnt-exist.rs

I get:

upcall fail '.t144 != 0u', lib/io.rs:110

Indeed, the file_reader function in lib/io.rs fails with an uncaught exception if the file that's being opened doesn't exist. It would be better to print a more informative error message or to fail in a non-fatal way.

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