about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorBen Kimock <kimockb@gmail.com>2023-09-11 18:12:25 -0400
committerBen Kimock <kimockb@gmail.com>2023-09-20 16:49:13 -0400
commit6cee6b0bdecc0cc18074fc1bb61b39bcc14573d8 (patch)
treef512e668a935c6e6dbec57b7ca6d1e900d007125 /library/std/src
parent01e97981488ddb0b8194b6f4e27c3592bcd2c8d1 (diff)
downloadrust-6cee6b0bdecc0cc18074fc1bb61b39bcc14573d8.tar.gz
rust-6cee6b0bdecc0cc18074fc1bb61b39bcc14573d8.zip
PR feedback
Diffstat (limited to 'library/std/src')
-rw-r--r--library/std/src/io/error.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/io/error.rs b/library/std/src/io/error.rs
index 4eb0d92b38b..f63142ff01f 100644
--- a/library/std/src/io/error.rs
+++ b/library/std/src/io/error.rs
@@ -511,6 +511,7 @@ impl Error {
     /// let eof_error = Error::from(ErrorKind::UnexpectedEof);
     /// ```
     #[stable(feature = "rust1", since = "1.0.0")]
+    #[inline(never)]
     pub fn new<E>(kind: ErrorKind, error: E) -> Error
     where
         E: Into<Box<dyn error::Error + Send + Sync>>,