multiple applicable items in scope errors when using the new trait solver with diesel #122433
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
E-needs-mcve
Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable Example
T-types
Relevant to the types team, which will review and decide on the PR/issue.
WG-trait-system-refactor
The Rustc Trait System Refactor Initiative (-Znext-solver)
I tried this code: https://github.com/diesel-rs/diesel (diesel-rs/diesel@12429cb)
with the flowing command:
I expected to see this happen: Code compiles without error (as without the
-Znext-solver
flag)Instead, this happened: Compilation produces error
Long error message
Semi-related note:
cargo check
without the-Znew-solver
flag takes 5s. With the new solver it takes significantly longer (2min 6s).Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: