Closed
Description
Whenever I have a filename typo when running rustc, I always think I'm tripping over some compiler bug before I notice the error: error opening ...
line at the top. Could rustc catch that the file doesn't exist earlier and cleanly exit instead?
% rustc does-not-exist.rs
error: error opening does-not-exist.rs
rust: upcall fail 'explicit failure', ../src/comp/syntax/parse/parser.rs:64
rust: domain main @0x10202d200 root task failed