diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index 6f23b9d908d..3253e0f4cad 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -376,7 +376,7 @@ pub trait From: Sized { #[lang = "from"] #[must_use] #[stable(feature = "rust1", since = "1.0.0")] - fn from(_: T) -> Self; + fn from(value: T) -> Self; } /// An attempted conversion that consumes `self`, which may or may not be