Skip to content

Recursion limit during monomorphization hit quicker on beta #38033

Closed
@alexcrichton

Description

@alexcrichton

This program compiles successfully on stable but hits the recursion limit on beta/nightly. This seems like a regression where we hit it too quickly? Is it something we can perhaps fix?

The specific error is:

$ rustc +beta foo.rs
error: reached the recursion limit during monomorphization (selection ambiguity)

cc @rust-lang/compiler
originally reported as rust-lang/futures-rs#262

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-trait-systemArea: Trait systemT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions