-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
--remap-path-prefix no longer works for compiler messages #87745
Copy link
Copy link
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.P-mediumMedium priorityMedium priorityT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Create a directory and put a Rust file with bad syntax in it:
Then compile it with:
I expected to see output like this:
Instead, the path is not modified and I get:
Version it worked on
rustc 1.53.0 (53cb7b0 2021-06-17)
Version with regression
rustc 1.54.0 (a178d03 2021-07-26)