diff --git a/std/src/io/stdio.rs b/std/src/io/stdio.rs index 6de069a518e3d..bf242e715bd94 100644 --- a/std/src/io/stdio.rs +++ b/std/src/io/stdio.rs @@ -394,6 +394,7 @@ impl Stdin { /// in which case it will wait for the Enter key to be pressed before /// continuing #[stable(feature = "rust1", since = "1.0.0")] + #[rustc_confusables("get_line")] pub fn read_line(&self, buf: &mut String) -> io::Result { self.lock().read_line(buf) }