We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
std::io::BufRead
1 parent b2adc75 commit 9219f4eCopy full SHA for 9219f4e
std/src/io/mod.rs
@@ -2249,6 +2249,7 @@ fn skip_until<R: BufRead + ?Sized>(r: &mut R, delim: u8) -> Result<usize> {
2249
/// }
2250
/// ```
2251
#[stable(feature = "rust1", since = "1.0.0")]
2252
+#[cfg_attr(not(test), rustc_diagnostic_item = "IoBufRead")]
2253
pub trait BufRead: Read {
2254
/// Returns the contents of the internal buffer, filling it with more data
2255
/// from the inner reader if it is empty.
0 commit comments