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.
1 parent 3e39c7a commit 3bd032eCopy full SHA for 3bd032e
std/src/io/error.rs
@@ -511,6 +511,7 @@ impl Error {
511
/// let eof_error = Error::from(ErrorKind::UnexpectedEof);
512
/// ```
513
#[stable(feature = "rust1", since = "1.0.0")]
514
+ #[inline(never)]
515
pub fn new<E>(kind: ErrorKind, error: E) -> Error
516
where
517
E: Into<Box<dyn error::Error + Send + Sync>>,
0 commit comments