Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ferrocene compiler needs more information about the type of Box<_> at compile time. #689

Closed
benracine opened this issue Jul 3, 2024 · 1 comment
Labels
C-duplicate Category: exact duplicate

Comments

@benracine
Copy link

When attempting to compile this crate using the Ferrocene compiler, I see the following error in /src/format_description/parse/mod.rs.

image

benracine pushed a commit to benracine/time-rs that referenced this issue Jul 3, 2024
    Explicitly annotate the type of items collected from format_items to resolve
    compiler error E0282. The type Box<_> ensures correct inference of the boxed
    collection type. This resolves issues encountered during compilation with
    Ferrocene.

    Closes: time-rs#689
@jhpratt
Copy link
Member

jhpratt commented Jul 3, 2024

This isn't specific to Ferrocene, nor is it an issue at all. See #681 — it's already been fixed.

@jhpratt jhpratt closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2024
@jhpratt jhpratt added the C-duplicate Category: exact duplicate label Jul 3, 2024
@time-rs time-rs locked and limited conversation to collaborators Aug 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-duplicate Category: exact duplicate
Projects
None yet
Development

No branches or pull requests

2 participants