Skip to content

"error: binary xxx already exists in destination" should print the full destination path #9797

@jonas-schievink

Description

@jonas-schievink

It is sometimes not obvious if the cargo install destination path was changed by a stray configuration file (or one implicitly set up by CI), or by an environment variable, which can make this error somewhat hard to properly diagnose. It would be great if Cargo provided the full destination path as part of the error message so that the user knows where to look for conflicting files.

Metadata

Metadata

Assignees

Labels

A-diagnosticsArea: Error and warning messages generated by Cargo itself.C-bugCategory: bugCommand-installE-easyExperience: Easy

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions