gleam-lang/gleam

Include the destination in error message when copying/linking fails

Chiusa

#5379 aperta il 20 feb 2026

 (2 commenti) (0 reazioni) (0 assegnatari)Rust (960 fork)batch import
help wanted

Metriche repository

Star
 (21.417 stelle)
Metriche merge PR
 (Merge medio 10g 19h) (69 PR mergiate in 30 g)

Descrizione

The problem

While working on #5378, I've noticed few TODOs about the need to add destination to error message, when copying or symlinking fails. It seems very useful for me.

Possible solution

  1. Add new optional field to error
  2. Update code for coversion to diagnostic
  3. Update all usages to include it

If it's desired feature, I will work on this!

Guida contributor