-
-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Description
I've tried updating my malachite dependency to v0.7.0 but now I can no longer build:
error: no rules expected keyword `const`
--> [...]\.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\malachite-nz-0.7.0\src\natural\arithmetic\mul\fft.rs:4720:31
|
4720 | assert_eq!(k, const { $n - 1 });
| ^^^^^ no rules expected this token in macro call
...
5664 | / process_crt!(
5665 | | process_crt_7_6_5,
5666 | | 7,
5667 | | 6,
... |
5674 | | multi_sub_6
5675 | | );
| |_- in this macro invocation
|
note: while trying to match meta-variable `$right:expr`
--> [...]\.rustup\toolchains\stable-x86_64-pc-windows-msvc\lib/rustlib/src/rust\library\core\src\macros\mod.rs:43:18
|
43 | ($left:expr, $right:expr $(,)?) => {
| ^^^^^^^^^^^
= note: this error originates in the macro `big_mul` which comes from the expansion of the macro `process_crt` (in Nightly builds, run with -Z macro-backtrace for more info)

Metadata
Metadata
Assignees
Labels
No labels