Skip to content

Instead of printing an io::Error::display, print the the path that failed #7025

@czipperz

Description

@czipperz

If you make a project and add the following to the Cargo.toml:

[workspace]
members = [""]

[dependencies]
x = { path = "x" }

You get the error message:

$ RUST_BACKTRACE=1 cargo test -q

Caused by:
  No such file or directory (os error 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions