Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buck2/rust: turn unused-dependencies errors into actual errors
Summary: For Reasons, `rustc` does not exit with an error status for unused dependency errors (rust-lang/rust#96068). We can promote them to proper errors in the rustc_action script. Also improve how the diagnostics are rendered to make them a bit more readable. Reviewed By: dtolnay Differential Revision: D35690034 fbshipit-source-id: a2571f9d6682a83527bfca9ce73dc474162a6f9c
- Loading branch information