Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doesn't compile with the latest stable rust #1

Closed
zoltan opened this issue May 24, 2023 · 1 comment
Closed

doesn't compile with the latest stable rust #1

zoltan opened this issue May 24, 2023 · 1 comment

Comments

@zoltan
Copy link

zoltan commented May 24, 2023

getting the following while trying to compile:

Compiling deconz-exporter v0.1.0 (/root/deconz-exporter)
error[E0554]: `#![feature]` may not be used on the stable release channel
--> src/lib.rs:1:1
|
1 | #![feature(box_syntax)]
| ^^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: could not compile `deconz-exporter` due to previous error
warning: build failed, waiting for other jobs to finish...
@jaseemabid
Copy link
Owner

Ah! Looks like rust removed box_syntax here rust-lang/rust#108471. Thanks @zoltan

Do you mind sending a PR to fix this? The feature is used in just one place, so it might be trivial. https://github.com/jaseemabid/deconz-exporter/blob/main/src/lib.rs#L272-L279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants