about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2021-10-09 11:56:07 +0200
committerGitHub <noreply@github.com>2021-10-09 11:56:07 +0200
commitee804594c8385c769dfde983a9ba455999a2f83e (patch)
tree653632bd10a7e582b04227e9536d2f322a41339e /compiler/rustc_data_structures/src
parenta06c664328c2b2793c9d6a390ec3f63a28ef7e1b (diff)
parente27bfb6e23774b61619b0d83a66e7f079c3ada37 (diff)
downloadrust-ee804594c8385c769dfde983a9ba455999a2f83e.tar.gz
rust-ee804594c8385c769dfde983a9ba455999a2f83e.zip
Rollup merge of #89693 - jkugelman:must-use-stdin-stdout-stderr-locks, r=joshtriplett
Add #[must_use] to stdin/stdout/stderr locks

Affected methods:

```rust
std::io           fn stdin_locked() -> StdinLock<'static>;
std::io::Stdin    fn lock(&self) -> StdinLock<'_>;
std::io           fn stdout_locked() -> StdoutLock<'static>;
std::io::Stdout   fn lock(&self) -> StdoutLock<'_>;
std::io           fn stderr_locked() -> StderrLock<'static>;
std::io::Stderr   fn lock(&self) -> StderrLock<'_>;
```

Parent issue: https://github.com/rust-lang/rust/issues/89692
Diffstat (limited to 'compiler/rustc_data_structures/src')
0 files changed, 0 insertions, 0 deletions