Rustc failed to compile code due to overflowing trait bound #78982
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
fixed-by-next-solver
Fixed by the next-generation trait solver, `-Znext-solver`.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
The following code triggers a endless type recursion in rustc while the underlying trait bounds on calling
assert_sql_conversion
are trivially satisfied.(Playground, Note that this is a minimized example starting from the original diesel code, therefore some things there are just simplified to reproduce the issue)
Error message:
The text was updated successfully, but these errors were encountered: