-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
reached the type-length limit while instantiating #58952
Copy link
Copy link
Closed
Labels
P-mediumMedium priorityMedium priorityT-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.
Metadata
Metadata
Assignees
Labels
P-mediumMedium priorityMedium priorityT-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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
I started to get the following error with my nightly builds around two days ago:
Using
cargo-bisect-rustcI got the following commit f565cdd and after building rustc manually I got down to this #58730 PR.After poking around my project I found the
keysmethod in here https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=151ab7543368e8ad2dbf3ff8c2a8e361 was causing the issue (stubbing out the method fixed the error) but I haven't been able to reproduce this outside of my codebase (this code is used as a separate crate)Following the
noteon the error causes the error still to happen until increasing it to#![type_length_limit="8388608"]Sorry I can't be more helpful with a way to reproduce this at the moment