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

Replace dummy-const with anon-const #62

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

cuviper
Copy link
Member

@cuviper cuviper commented Feb 6, 2024

This has been supported since Rust 1.37, and the old way is about to
start raising a warning from RFC 3373.

Fixes #60.

This has been supported since Rust 1.37, and the old way is about to
start raising a warning from [RFC 3373][1].

[1]: https://rust-lang.github.io/rfcs/3373-avoid-nonlocal-definitions-in-fns.html
@cuviper cuviper added this pull request to the merge queue Feb 6, 2024
Merged via the queue into rust-num:master with commit 7cc3351 Feb 6, 2024
4 checks passed
asomers added a commit to KhaledEmaraDev/xfuse that referenced this pull request Feb 26, 2024
This fixes a non_local_definitions warning with the latest nightly
compiler.

See rust-num/num-derive#62
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

Successfully merging this pull request may close these issues.

Future incompatibility with Rust RFC 3373: Avoid non-local definitions in functions
1 participant