Skip to content

Conversation

deejayem
Copy link

@deejayem deejayem commented Jul 3, 2023

With the lastest version of the rust compiler, I am unable to build ea. The error is as follows (but I removed the duplicates that only differ by line number):

Checking guard v0.5.1
error: `box_syntax` has been removed
--> /Users/djm/.cargo/registry/src/index.crates.io-6f17d22bba15001f/guard-0.5.1/src/lib.rs:426:20
|
426 |         let foo = (box 42, [1, 2, 3]);
|                    ^^^^^^
|
help: use `Box::new()` instead
|
426 |         let foo = (Box::new(42), [1, 2, 3]);
|                    ~~~~~~~~~~~~
...
error: could not compile `guard` (lib) due to 4 previous errors

This is caused by rust-lang/rust#108471

This is fixed in guard 0.5.2.

I also had to fix a (seemingly) unrelated compilation issue to get it to compile, but I'll raise a separate PR for that.

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

Successfully merging this pull request may close these issues.

1 participant