Skip to content

Rust 1.79 : LevelMasks could return Borrow #1

@tower120

Description

@tower120

This rust-lang/rust#122055 should appear in Rust 1.79
We could try to return Borrow in LevelMasks instead of value.
This should allow to remove Clone constraint from BitBlock.

UPDATE. It turns out that we need more robust GAT support from Rust as well. for<'a> does not work in places where we need it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked by rustBlocked by lack of compiler feature, which can appear in futureenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions