What changed, and why it matters
This commit only updates generated text files that list the public API surface of the crate. The change records that a new standard Rust conversion trait (`From<Infallible>`) is now implemented for an existing error type. No source code, logic, or behavior was changed, so there is no security issue here.
No action required. This is a documentation/snapshot update for the public API listing.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies three network/api/*.txt files, which are public-API snapshot files (likely produced by cargo public-api or similar). They add two lines documenting that ParseNetworkError now implements core::convert::From<core::convert::Infallible> and the corresponding from method. Implementing From<Infallible> for an error type is a routine, idiomatic Rust pattern that enables ergonomic ? conversion from never-fallible operations; it does not introduce a vulnerability.
Changed components
network/api/all-features.txtnetwork/api/alloc-only.txtnetwork/api/no-features.txtInspect captured patch +6 / −0
diff --git a/network/api/all-features.txt b/network/api/all-features.txt
index f6667a0c..b7f45fe3 100644
--- a/network/api/all-features.txt
+++ b/network/api/all-features.txt
@@ -10,6 +10,8 @@ pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_n
impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::convert::From<core::convert::Infallible> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(never: core::convert::Infallible) -> Self
impl core::error::Error for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::source(&self) -> core::option::Option<&(dyn core::error::Error + 'static)>
impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
diff --git a/network/api/alloc-only.txt b/network/api/alloc-only.txt
index cdaa0e5c..9ef9dc1e 100644
--- a/network/api/alloc-only.txt
+++ b/network/api/alloc-only.txt
@@ -6,6 +6,8 @@ pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_n
impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::convert::From<core::convert::Infallible> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(never: core::convert::Infallible) -> Self
impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for bitcoin_network_kind::error::ParseNetworkError
diff --git a/network/api/no-features.txt b/network/api/no-features.txt
index 1563b590..08381e70 100644
--- a/network/api/no-features.txt
+++ b/network/api/no-features.txt
@@ -6,6 +6,8 @@ pub fn bitcoin_network_kind::error::ParseNetworkError::clone(&self) -> bitcoin_n
impl core::cmp::Eq for bitcoin_network_kind::error::ParseNetworkError
impl core::cmp::PartialEq for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::eq(&self, other: &bitcoin_network_kind::error::ParseNetworkError) -> bool
+impl core::convert::From<core::convert::Infallible> for bitcoin_network_kind::error::ParseNetworkError
+pub fn bitcoin_network_kind::error::ParseNetworkError::from(never: core::convert::Infallible) -> Self
impl core::fmt::Debug for bitcoin_network_kind::error::ParseNetworkError
pub fn bitcoin_network_kind::error::ParseNetworkError::fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result
impl core::fmt::Display for bitcoin_network_kind::error::ParseNetworkError
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.