Skip to content

NARR limbo due to const_evaluatable_unchecked #1

Open
@peter-lyons-kehl

Description

@peter-lyons-kehl

Of course, everything here is on Nightly Rust:

warning: cannot use constants which depend on generic parameters in types
   --> src/slices/mod.rs:48:20
    |
48  |         type NARR: $trait_name<'a, T, $narr_size>;
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
    = note: `#[warn(const_evaluatable_unchecked)]` on by default
    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!

https://github.com/ranging-rs/slicing-rs/blob/main/src/slices/mod.rs#L48=

Metadata

Metadata

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