You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for building this. I just got a NeoKey1x4, which I'm working on adding to my project.
I'm getting the following error building 0.5.0 (14dc5a):
error[E0635]: unknown feature `const_convert`
--> src/lib.rs:3:27
|
3 | #![feature(array_try_map, const_convert, const_trait_impl, generic_const_exprs)]
| ^^^^^^^^^^^^^
error: const `impl` for trait `From` which is not marked with `#[const_trait]`
--> src/common.rs:9:12
|
9 | impl const From<HardwareId> for u8 {
| ^^^^^^^^^^^^^^^^
|
= note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
= note: adding a non-const method body in the future would be a breaking change
error: const `impl` for trait `From` which is not marked with `#[const_trait]`
--> src/common.rs:36:12
|
36 | impl const From<Modules> for u8 {
| ^^^^^^^^^^^^^
|
= note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
= note: adding a non-const method body in the future would be a breaking change
error: const `impl` for trait `From` which is not marked with `#[const_trait]`
--> src/modules/gpio.rs:152:12
|
152 | impl const From<PinMode> for u8 {
| ^^^^^^^^^^^^^
|
= note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
= note: adding a non-const method body in the future would be a breaking change
error: const `impl` for trait `From` which is not marked with `#[const_trait]`
--> src/modules/gpio.rs:171:12
|
171 | impl const From<InterruptMode> for u8 {
| ^^^^^^^^^^^^^^^^^^^
|
= note: marking a trait with `#[const_trait]` ensures all default method bodies are `const`
= note: adding a non-const method body in the future would be a breaking change
A recent comment on rust-lang/rust#88674 suggests that the const_convert feature has been removed.
The text was updated successfully, but these errors were encountered:
afternoon
changed the title
Not compiling with rust 1.69 nightly
Feature const_convert no longer available with rust 1.69 nightly
Apr 23, 2023
afternoon
changed the title
Feature const_convert no longer available with rust 1.69 nightly
Feature const_convert no longer available with rust 1.69 nightly
Apr 23, 2023
Hi, thanks for building this. I just got a NeoKey1x4, which I'm working on adding to my project.
I'm getting the following error building 0.5.0 (14dc5a):
A recent comment on rust-lang/rust#88674 suggests that the
const_convert
feature has been removed.The text was updated successfully, but these errors were encountered: