Skip to content

no Alloc in alloc #19

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

Closed
haraldh opened this issue Feb 3, 2020 · 1 comment · Fixed by #20
Closed

no Alloc in alloc #19

haraldh opened this issue Feb 3, 2020 · 1 comment · Fixed by #20

Comments

@haraldh
Copy link
Contributor

haraldh commented Feb 3, 2020

   Compiling bitflags v1.2.1
   Compiling lazy_static v1.4.0
   Compiling linked_list_allocator v0.6.5
error[E0432]: unresolved import `alloc::alloc::Alloc`
  --> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.5/src/lib.rs:14:20
   |
14 | use alloc::alloc::{Alloc, AllocErr, Layout};
   |                    ^^^^^
   |                    |
   |                    no `Alloc` in `alloc`
   |                    help: a similar name exists in the module: `alloc`

error: aborting due to previous error
@phil-opp
Copy link
Member

phil-opp commented Feb 4, 2020

Thanks for reporting! This is caused by rust-lang/rust#68529 and the subsequent rust-lang/rust#68736. I'll push a fix.

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

Successfully merging a pull request may close this issue.

2 participants