Skip to content

Implement Fn, FnMut, FnOnce traits and make them callable via the () operator #14448

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

Closed
pcwalton opened this issue May 27, 2014 · 3 comments
Closed
Milestone

Comments

@pcwalton
Copy link
Contributor

This is part of unboxed closures. cc @nikomatsakis

Per our discussions last week I believe that this is necessary for 1.0 backcompat-lang (because we will remove the old closures afterward). Nominating.

@brson brson added this to the 1.0 milestone May 29, 2014
@brson
Copy link
Contributor

brson commented May 29, 2014

1.0 backcompat lang. Note though that this particular solution has not been accepted as an RFC yet - we just want to solve unboxed closures for 1.0

@pcwalton
Copy link
Contributor Author

Landed as #14590.

@brson
Copy link
Contributor

brson commented Jun 10, 2014

\o/

bors added a commit to rust-lang-ci/rust that referenced this issue Jun 5, 2023
internal: Don't expose InferenceTable outside of hir-ty
flip1995 added a commit to flip1995/rust that referenced this issue Apr 3, 2025
In the current GitHub Actions CI/CD setup, the `deploy` job is not
triggered when a PR is enqueued in the merge queue but only when it is
merged. Since concurrency is not configured for this job, deployments
may fail for later PRs if multiple PRs are merged in quick succession.
(e.g. the deployment for [this
commit](rust-lang/rust-clippy@c418714)
was successful, but the deployment for [this
commit](rust-lang/rust-clippy@0a141ab)
that was pushed to `main` immediately afterward failed. (edit: the
latter deployment seems to be rerun))

changelog: none

r? flip1995
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants