Rollup merge of #139834 - ChrisDenton:spf, r=WaffleLapkin

Don't canonicalize crate paths

When printing paths in diagnostic we should favour printing the paths that were passed in rather than resolving all symlinks.

This PR changes the form of the crate path but it should only really affect diagnostics as filesystem functions won't care which path is used. The uncanonicalized path was already used as a fallback for when canonicalization failed.

This is a partial alternative to #139823.
This commit is contained in:
Chris Denton 2025-04-19 15:09:35 +00:00 committed by GitHub
commit fcd257b667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

Diff Content Not Available