Skip to content

no Alloc in alloc #19

Closed
Closed
@haraldh

Description

@haraldh
   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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions