-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"file not found" error message should be friendlier #275
Comments
This has been fixed. Now says 'error opening some-file-that-doesnt-exist.rs' |
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
Added _SC_HOST_NAME_MAX for FreeBSD, DragonFly, BitRig and Linux (glibc and musl) I'd have liked to also add NetBSD and OpenBSD, but I can't find where _SC_HOST_NAME_MAX is defined.
kazcw
pushed a commit
to kazcw/rust
that referenced
this issue
Oct 23, 2018
dlrobertson
pushed a commit
to dlrobertson/rust
that referenced
this issue
Nov 29, 2018
More cleanups related to methods.
Aaron1011
pushed a commit
to Aaron1011/rust
that referenced
this issue
Oct 26, 2020
celinval
pushed a commit
to celinval/rust-dev
that referenced
this issue
Jun 4, 2024
* use codegen_unimplemented() for the try intrinsic * Additional unit test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: