-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Closed
Copy link
Labels
A-closuresArea: Closures (`|…| { … }`)Area: Closures (`|…| { … }`)A-edition-2021Area: The 2021 editionArea: The 2021 editionC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
Problem
Running cargo fix --edition
on the crate qip=0.15.3
leads to an error:
$ cargo fix --edition
Checking qip v0.15.3 (.../git/RustQIP)
Migrating src/lib.rs from 2018 edition to 2021
error: overflow while checking whether `feynman_state::state::FeynmanState<P>` requires drop
error: could not compile `qip` due to previous error
warning: build failed, waiting for other jobs to finish...
error: overflow while checking whether `FeynmanState<P>` requires drop
error: build failed
Building and running cargo check
on either edition works fine however.
I will try to make a simplified minimal example soon but needed to run and figured I'd report this then come back to it.
Thanks for all the work on the new version!
Steps
- Download crate from github
- Run
cargo fix --edition
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.56.0 (4ed5d137b 2021-10-04)
release: 1.56.0
commit-hash: 4ed5d137baff5eccf1bae5a7b2ae4b57efad4a7d
commit-date: 2021-10-04
Metadata
Metadata
Assignees
Labels
A-closuresArea: Closures (`|…| { … }`)Area: Closures (`|…| { … }`)A-edition-2021Area: The 2021 editionArea: The 2021 editionC-bugCategory: This is a bug.Category: This is a bug.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.