-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-type-systemArea: Type systemArea: Type systemC-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.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.
Description
Build fails with:
reached the type-length limit while instantiating
std::future::from_generator::<[s...0, ()>}]>, ()}]>>, ()}]>>, ()}]>
To reproduce:
git clone --recursive https://gitlab.com/crates.rs/crates.rs.git/ # f3f0c87e70d57e
cd crates.rs
cargo build
It compiles in 1.45 with the default type length limit.
In 1.46 it won't compile unless I add #![type_length_limit="347827478"]
to a couple of libraries in the workspace.
Meta
It affects 1.46 stable, and nightlies since 2020-08-14.
cargo bisect-rustc
blames 0a49057 for the regression.
bbqsrc, mvolfik, Demonstrandum, dankochetov, FinnDore and 40 more
Metadata
Metadata
Assignees
Labels
A-type-systemArea: Type systemArea: Type systemC-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.regression-from-stable-to-stablePerformance or correctness regression from one stable version to another.Performance or correctness regression from one stable version to another.