gleam-lang/gleam

Include the destination in error message when copying/linking fails

Open

#5379 opened on Feb 20, 2026

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (21,417 stars) (960 forks)batch import
help wanted

Description

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!

Contributor guide