Skip to content

Conversation

@oovm
Copy link

@oovm oovm commented Dec 20, 2021

C:/Users/.cargo/bin/cargo.exe build --color=always --message-format=json-diagnostic-rendered-ansi --package docx --example table
   Compiling jetscii v0.4.4
error: unconstrained generic constant
   --> C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:110:13
    |
110 |             T::CONTROL_BYTE,
    |             ^^^^^^^^^^^^^^^
    |
    = help: try adding a `where` bound using this expression: `where [(); T::CONTROL_BYTE]:`

error: unconstrained generic constant
   --> C:\Users\.cargo\registry\src\github.com-1ecc6299db9ec823\jetscii-0.4.4\src\simd.rs:149:13
    |
149 |             T::CONTROL_BYTE,
    |             ^^^^^^^^^^^^^^^
    |
    = help: try adding a `where` bound using this expression: `where [(); T::CONTROL_BYTE]:`

error: aborting due to 2 previous errors

error: could not compile `jetscii` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed
Process finished with exit code 101

@vademo
Copy link

vademo commented Dec 21, 2021

Tested with example from Poi and this fixes documented issue

@TimRChen
Copy link

TimRChen commented Jan 5, 2022

meet same problems. hope this PR can merge.

@Christoph-AK
Copy link

Agree, without this fix this can't be used anymore!

For now I'll use

docx = { git = "https://github.com/notedge/docx-rs", branch = "master" }

in my cargo.toml.

@oovm
Copy link
Author

oovm commented Jan 19, 2022

@PoiScript 你好, 你可以抽空 review 一下这个 pr 吗, 这个提交主要包含了一些过期 api 的修复, 不会占用太多时间

@bburdette
Copy link

ha, came here to open this same PR

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.

E0061 error during compilation

5 participants