mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
f8539221d0
Avoid BorrowMutError with RUSTC_LOG=debug ```console $ touch empty.rs $ env RUSTC_LOG=debug rustc +stage1 --crate-type=lib empty.rs ``` Fails with a `BorrowMutError` because source map files are already borrowed while `features_query` attempts to format a log message containing a span. Release the borrow before the query to avoid the issue. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |