Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

use new format of destination

author
Andrey
committer
Louis Pilfold
date (Jun 22, 2026, 3:19 PM +0100) commit 88644586 parent b25653ef change-id lzxrumkk
+24 -8
+9 -5
compiler-core/src/error.rs
··· 1845 1845 None => "".into(), 1846 1846 }; 1847 1847 let destination = if let Some(destination) = action.destination() { 1848 - &format!(" to {destination}") 1848 + format!( 1849 + "\n\nTo: 1850 + 1851 + {destination}" 1852 + ) 1849 1853 } else { 1850 - "" 1854 + "".into() 1851 1855 }; 1852 1856 let mut text = format!( 1853 - "An error occurred while trying to {} this {}{}: 1857 + "An error occurred while trying to {} this {}: 1854 1858 1855 - {} 1859 + {}{} 1856 1860 {}", 1857 1861 action.text(), 1858 1862 kind.text(), 1859 - destination, 1860 1863 path, 1864 + destination, 1861 1865 err, 1862 1866 ); 1863 1867 if cfg!(target_family = "windows") && action.is_link() {
+5 -1
compiler-core/src/error/snapshots/gleam_core__error__tests__io_copy_directory_error.snap
··· 4 4 --- 5 5 error: File IO failure 6 6 7 - An error occurred while trying to copy this directory to /dest: 7 + An error occurred while trying to copy this directory: 8 8 9 9 /src 10 + 11 + To: 12 + 13 + /dest 10 14 11 15 The error message from the file IO library was: 12 16