Skip to content
Myr

Merge pull request #2541 from dtolnay/de-core-error

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Fix `serde::de::StdError` in no-std unstable build

authored by David Tolnay · committed by GitHub · parents 7b09ccc, ff5442c · Browse files · 2 files+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:.github/workflows/ci.yml+1 added
modified:serde/src/de/mod.rs+4 added-1 removed
124 unmodified lines
125mod utf8;126127pub use self::ignored_any::IgnoredAny;128129#[cfg(all(feature = "unstable", not(feature = "std")))]130#[doc(no_inline)]131pub use core::error::Error as StdError;132#[cfg(feature = "std")]133#[doc(no_inline)]134pub use std::error::Error as StdError;132#[cfg(not(feature = "std"))]135#[cfg(not(any(feature = "std", feature = "unstable")))]136#[doc(no_inline)]137pub use std_error::Error as StdError;138139////////////////////////////////////////////////////////////////////////////////
2159 unmodified lines