-
Notifications
You must be signed in to change notification settings - Fork 933
Closed
Description
cargo check --features generic-simd
error: expected one of `!` or `::`, found keyword `mod`
--> /home/matthias/.cargo/registry/src/index.crates.io-6f17d22bba15001f/packed_simd_2-0.3.7/src/lib.rs:347:7
|
347 | crate mod llvm {
| ^^^ expected one of `!` or `::`
error: could not compile `packed_simd_2` (lib) due to previous error
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
calebcartwright commentedon Jul 25, 2023
Could you add a little more context please? It's unclear how this relates to rustfmt from the initial issue description
matthiaskrgr commentedon Jul 25, 2023
sorry, rustfmt has a feature "generic-simd" that fails the rustfmt build when it is enabled.
This was found because we run clippy on rustfmt in our CI with
--all-targets --all-features
.repro:
Auto merge of #11225 - matthiaskrgr:fix_integration_tests2, r=flip1995
ytmimi commentedon Aug 2, 2023
Confirming I'm able to reproduce this. I'm also pretty sure it's related to llogiq/bytecount#64. I think Bumping the version of
bytecount
would solve the problem 🤞🏼generic-simd
feature #5872