about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-12-13 15:17:26 +0000
committerbors <bors@rust-lang.org>2023-12-13 15:17:26 +0000
commit7176b8babdc55d68a485ab61940b10611cfa6c57 (patch)
tree2fe6c4bbad89593a51f486fdcf971cc52c7fa132 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parentc3def263a44e07e09ae6d57abfc8650227fb4972 (diff)
parentb30e94b7bb7dda49e6a4615c15d08393c541b390 (diff)
downloadrust-7176b8babdc55d68a485ab61940b10611cfa6c57.tar.gz
rust-7176b8babdc55d68a485ab61940b10611cfa6c57.zip
Auto merge of #118894 - dtolnay:bootstrapwrite, r=onur-ozkan
Unbreak non-unix non-windows bootstrap

Fixes #118862.

#118647 added a new use of std::io::Write that is not conditional on any cfg.

https://github.com/rust-lang/rust/blob/028b6d152e904bbc02dc3cd67e4cbdffcbd039e1/src/bootstrap/src/bin/main.rs#L134

```console
error[E0599]: no method named `write_all` found for struct `File` in the current scope
   --> src/bin/main.rs:134:21
    |
134 |             t!(file.write_all(lines.join("\n").as_bytes()));
    |                     ^^^^^^^^^ method not found in `File`
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
8   + use std::io::Write;
    |
```
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions