Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dtolnay opened this issue Jul 7, 2018 · 1 comment
Closed

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

dtolnay opened this issue Jul 7, 2018 · 1 comment

Comments

@dtolnay
Copy link
Member

dtolnay commented Jul 7, 2018

$ 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
@dtolnay
Copy link
Member Author

dtolnay commented Jul 7, 2018

Upstream PR that moved these types: rust-lang/rust#51569.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant