-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
When I added docx = 1.1.2 to my project, the following error appears
Compiling jetscii v0.4.4
error: generic parameters may not be used in const operations
--> C:\Users\mmogi\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:109:13
|
109 | T::CONTROL_BYTE,
| ^^^^^^^^^^^^^^^ cannot perform const operation using `T`
|
= note: type parameters may not be used in const expressions
error: generic parameters may not be used in const operations
--> C:\Users\mmogi\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:148:13
|
148 | T::CONTROL_BYTE,
| ^^^^^^^^^^^^^^^ cannot perform const operation using `T`
|
= note: type parameters may not be used in const expressions
error: could not compile `jetscii` due to 2 previous errorsWhen I remove docx= 1.1.2, my project compiles with no error. docx depends on jetscii which seems to be the source of the error.
FYI: rustc 1.61.0 (fe5b13d68 2022-05-18)
Metadata
Metadata
Assignees
Labels
No labels