Skip to content

Improve error message when there's a colon in the project directory name #3736

@minijackson

Description

@minijackson

Steps to reproduce:

  • cargo new bla
  • mv bla "bla:"
  • cd "bla:"
  • cargo test --verbose

Error:

error: failed to join search paths together: path segment contains separator `:`
Does $LD_LIBRARY_PATH have an unterminated quote character?

Caused by:
  failed to join path array: ["/tmp/bla:/target/debug/deps", "/home/minijackson/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib"]

As LD_LIBRARY_PATH is a Unix thingy, I don't know if it is reproducible in Windows ;-)

Meta:

cargo 0.18.0-nightly (56083a3 2017-02-18)
release: 0.18.0
commit-hash: 56083a3362999695193a8f2252d17b0e4c32145e
commit-date: 2017-02-18

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions