Regression 1.94.0

Hi,

Our project stopped compiling after updating to 1.94.0 with an [E0275] that wasn't there before. I couldn't find an existing issue on the rust-lang repo. I've run cargo-bisect-rustc — is this worth opening as a rustc issue without a minimal reproducible example?

Bisect output:

searched nightlies: from nightly-2025-12-05 to nightly-2026-01-17
regressed nightly: nightly-2025-12-28
searched commit range: https://github.com/rust-lang/rust/compare/1107bbac4b303d49c3e67a2ec62710902bf4b341...7b5cde7370b82fecf700071dda98c3fbc7d41fae
regressed commit: https://github.com/rust-lang/rust/commit/08509492139968a96a005ba811a995e2f1d6a2ac
bisected with cargo-bisect-rustc v0.6.11

Host triple: x86_64-unknown-linux-gnu

Reproduce with:

cargo bisect-rustc --start=1.93.0 --end=1.94.0

It’s not a good idea to assume that everyone has memorized the error codes; the job of error codes isn’t to identify errors for experienced users, but to point to additional documentation. I see that E0275 is “An evaluation of a trait requirement overflowed.”

In this case, the thing to check is: does your program compile if you set recursion_limit higher than the default?

If it does compile, then: this sort of thing unavoidably happens sometimes.

If it does not compile, then: this is a serious regression and you should report it. Minimal reproduction is highly valuable, but not a prerequisite for making a report.

9 Likes

Based on the bisection, this sounds like you're running into Query depth limit overflow due to nested async fn when building matrix_sdk · Issue #152942 · rust-lang/rust · GitHub

2 Likes

Yes it totally is the same problem, I see that the issue, is taken care of, good to know. I'll update the recursion limit.