Skip to content

Macro recursion limit is still too low #38541

Closed
@JoeyAcc

Description

@JoeyAcc

I've seen this issue, and since it's closed I've decided to open a new one.

I have just hit this limit. The problem for me is that I hit it while using std::vec!, and AFAICT the only way to accommodate more elements is not just by specifying #[recursion_limit = "10000"] but also defining my own version of vec! since otherwise the default vec! macro will simply ignore the attribute as it's not defined in my crate.

I don't believe it's a good idea for Rust programmers to have to define their own versions of definitions in std, hence the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions