rustc: Don't use relative paths for extended errors

These no longer work now that Cargo changes the cwd of rustc while it's running.
Instead use an absolute path that's set by rustbuild.
This commit is contained in:
Alex Crichton
2018-01-02 16:21:35 -08:00
parent 53fd0c50d8
commit 8c9bf663d4
17 changed files with 36 additions and 9 deletions

View File

@@ -151,4 +151,5 @@ pub mod ext {
#[cfg(test)]
mod test_snippet;
#[cfg(not(stage0))] // remove after the next snapshot
__build_diagnostic_array! { libsyntax, DIAGNOSTICS }