Automatic edition migration broken for diesel. #136345
Labels
C-bug
Category: This is a bug.
E-needs-investigation
Call for partcipation: This issues needs some investigation to determine current status
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-cargo
Relevant to the cargo team, which will review and decide on the PR/issue.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I tried this code:
diesel-rs/diesel@1c5cf1c
and followed the setups outlined here to test migrating to the 2024 edition.
I expected to see this happen: Migration succeeds
Instead, this happened: I get the following compiler errors: Gist link as the log is too large to even post it inline
I did not investigate why which error happens, but it seems like that there is again something strange going on with feature unification, as otherwise you wouldn't end up with this kind of error messages that mix different backend types like this.
I also want to highlight that this is now the third edition in row that breaks diesel and that requires significant manual migration effort on our side. At least for me that doesn't uphold the promises made by various edition RFC's and team members.
Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: