graydon/rust — Issue #1405: rustc: missing file error shouldn't display upcall fail
Author: erickt
Created: 2011-12-31 18:08:59+00:00
State: open

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