Skip to content

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

Closed
@brson

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.

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