diff options
| author | cyrgani <ansgar.w.zielke@gmail.com> | 2025-02-18 10:54:37 +0100 |
|---|---|---|
| committer | cyrgani <ansgar.w.zielke@gmail.com> | 2025-02-18 10:54:37 +0100 |
| commit | a72402a0f950e92758600aa7996899b5241bb6a5 (patch) | |
| tree | 7b7337c95699d767aa0bd1b133668c1850725051 /library/std/src/io/stdio.rs | |
| parent | ce36a966c79e109dabeef7a47fe68e5294c6d71e (diff) | |
| download | rust-a72402a0f950e92758600aa7996899b5241bb6a5.tar.gz rust-a72402a0f950e92758600aa7996899b5241bb6a5.zip | |
add last std diagnostic items for clippy
Diffstat (limited to 'library/std/src/io/stdio.rs')
| -rw-r--r-- | library/std/src/io/stdio.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/stdio.rs b/library/std/src/io/stdio.rs index 318c3508221..661c422811a 100644 --- a/library/std/src/io/stdio.rs +++ b/library/std/src/io/stdio.rs @@ -239,6 +239,7 @@ fn handle_ebadf_lazy<T>(r: io::Result<T>, default: impl FnOnce() -> T) -> io::Re /// } /// ``` #[stable(feature = "rust1", since = "1.0.0")] +#[cfg_attr(not(test), rustc_diagnostic_item = "Stdin")] pub struct Stdin { inner: &'static Mutex<BufReader<StdinRaw>>, } |
