Skip to content

error building regalloc2-0.12.2 #277

@morenol

Description

@morenol
--> /Users/morenol/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/regalloc2-0.12.2/src/lib.rs:1698:24
     |
1698 |         self.0.deref().allocate(layout)
     |                        ^^^^^^^^
     |
    ::: /Users/morenol/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/bumpalo-3.18.0/src/lib.rs:292:1
     |
292  | pub struct Bump<const MIN_ALIGN: usize = 1> {
     | ------------------------------------------- doesn't satisfy `bumpalo::Bump: allocator_api2::alloc::Allocator`
     |
     = note: the following trait bounds were not satisfied:
             `bumpalo::Bump: allocator_api2::alloc::Allocator`
             which is required by `&bumpalo::Bump: allocator_api2::alloc::Allocator`
     = help: items from traits can only be used if the trait is in scope
help: trait `Allocator` which provides `allocate` is implemented but not in scope; perhaps you want to import it
     |
17   + use allocator_api2::alloc::Allocator;

Seems to be related to this release?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions