Skip to content

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

Description

@brson
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.

Activity

  1. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Jan 17, 2015
  2. rylev commented on Jan 17, 2015

    @rylev
    Contributor

    I'll try to tackle this.

  3. added a commit that references this issue on Jan 19, 2015
  4. added a commit that references this issue on Jan 20, 2015
  5. alexcrichton commented on Jan 23, 2015

    @alexcrichton
    Member

    Fixed in #21336

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions