Skip to content

rustc: remove the explicit count from the lang_item macro. #11657

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Jan 20, 2014

Conversation

huonw
Copy link
Member

@huonw huonw commented Jan 19, 2014

We can use a secondary macro to calculate the count from the information
we're already having to pass to the lang items macro.

We can use a secondary macro to calculate the count from the information
we're already having to pass to the lang items macro.
@alexcrichton
Copy link
Member

I did this as part of #11409 as well (https://github.com/mozilla/rust/pull/11409/files#diff-855fca46fb86dbacaee6e1226c2bd4a7L38), but it looks like it's taking awhile to land...

bors added a commit that referenced this pull request Jan 20, 2014
We can use a secondary macro to calculate the count from the information
we're already having to pass to the lang items macro.
@bors bors closed this Jan 20, 2014
@bors bors merged commit a68172c into rust-lang:master Jan 20, 2014
@huonw huonw deleted the less-lang-duplication branch December 4, 2014 02:03
bors added a commit to rust-lang-ci/rust that referenced this pull request Mar 17, 2024
cfg Attribute Stripping for Proc Macro Expansion

This will attempt to process cfg attributes and cfg_attr attributes for proc macro expansion.
![image](https://github.com/rust-lang/rust-analyzer/assets/11785959/b85ef203-14a5-44c9-9b67-59a65a5f2d96)

Closes rust-lang#8434 , rust-lang#11657, and rust-lang#13904
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants