Skip to content
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

rustc error when file can't be opened is ugly #21329

Closed
brson opened this issue Jan 17, 2015 · 2 comments
Closed

rustc error when file can't be opened is ugly #21329

brson opened this issue Jan 17, 2015 · 2 comments
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

Comments

@brson
Copy link
Contributor

brson commented Jan 17, 2015

brian@brianX1:~⟫ rustc foeu
error: couldn't read foeu: IoError { kind: FileNotFound, desc: "couldn\'t open path as file", detail: Some("no such file or directory (No such file or directory); path=foeu; mode=open; access=read") }

It should probably be displaying just the detail.

@brson brson added E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue. I-papercut labels Jan 17, 2015
@rylev
Copy link
Member

rylev commented Jan 17, 2015

I'll try to tackle this.

alexcrichton added a commit to alexcrichton/rust that referenced this issue Jan 19, 2015
barosl added a commit to barosl/rust that referenced this issue Jan 20, 2015
@alexcrichton
Copy link
Member

Fixed in #21336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
E-easy Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Projects
None yet
Development

No branches or pull requests

3 participants