diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-10-30 18:00:54 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-30 18:00:54 +0900 |
| commit | f8539221d073cf0f4b28ba3dff5cae8a63ae5243 (patch) | |
| tree | b21143b87edf2ca020bcfa464e98e99ae4848818 /compiler/rustc_codegen_llvm/src | |
| parent | 8111706c18aebe273457b0967e076bf5e105a382 (diff) | |
| parent | a15e0dc4991a6c06dd5108d72163fb9809db2b07 (diff) | |
| download | rust-f8539221d073cf0f4b28ba3dff5cae8a63ae5243.tar.gz rust-f8539221d073cf0f4b28ba3dff5cae8a63ae5243.zip | |
Rollup merge of #78524 - tmiasko:source-files-borrow, r=Aaron1011
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
