Restore compatibility with rustc 1.13.0

error[E0432]: unresolved import `private:🇩🇪:size_hint`
      --> src/de/value.rs:28:5
       |
    28 | use private:🇩🇪:size_hint;
       |     ^^^^^^^^^^^^^^^^^^^^^^ Maybe a missing `extern crate private`?
This commit is contained in:
David Tolnay 2021-01-08 20:00:32 -08:00
parent dd1f4b483e
commit b0c99ed761
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 4 additions and 3 deletions

View File

@ -7,11 +7,11 @@ use de::{
#[cfg(any(core_duration, feature = "std", feature = "alloc"))]
use de::MapAccess;
use __private::de::InPlaceSeed;
use de::from_primitive::FromPrimitive;
use private::de::InPlaceSeed;
#[cfg(any(feature = "std", feature = "alloc"))]
use private::de::size_hint;
use __private::de::size_hint;
////////////////////////////////////////////////////////////////////////////////

View File

@ -24,8 +24,8 @@
use lib::*;
use self::private::{First, Second};
use __private::de::size_hint;
use de::{self, Expected, IntoDeserializer, SeqAccess};
use private::de::size_hint;
use ser;
////////////////////////////////////////////////////////////////////////////////

View File

@ -273,6 +273,7 @@ pub mod __private;
#[allow(unused_imports)]
use self::__private as export;
#[allow(unused_imports)]
use self::__private as private;
#[cfg(not(feature = "std"))]