Skip to content

--features alloc no longer compiles on nightly-2018-07-07 #1335

Closed
@dtolnay

Description

@dtolnay
$ cargo build --no-default-features --features alloc

error[E0432]: unresolved import `alloc::BTreeMap`
   --> serde/src/lib.rs:196:21
    |
196 |     pub use alloc::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
    |                     ^^^^^^^^ no `BTreeMap` in the root

error[E0432]: unresolved import `alloc::BTreeSet`
   --> serde/src/lib.rs:196:31
    |
196 |     pub use alloc::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
    |                               ^^^^^^^^ no `BTreeSet` in the root

error[E0432]: unresolved import `alloc::BinaryHeap`
   --> serde/src/lib.rs:196:41
    |
196 |     pub use alloc::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
    |                                         ^^^^^^^^^^ no `BinaryHeap` in the root

error[E0432]: unresolved import `alloc::LinkedList`
   --> serde/src/lib.rs:196:53
    |
196 |     pub use alloc::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
    |                                                     ^^^^^^^^^^ no `LinkedList` in the root

error[E0432]: unresolved import `alloc::VecDeque`
   --> serde/src/lib.rs:196:65
    |
196 |     pub use alloc::{BTreeMap, BTreeSet, BinaryHeap, LinkedList, VecDeque};
    |                                                                 ^^^^^^^^ no `VecDeque` in the root

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions