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.
2 parents 966b014 + 9219f4e commit 19c0893Copy full SHA for 19c0893
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