-
Notifications
You must be signed in to change notification settings - Fork 13.4k
include! items #3504
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
Comments
Related to #3505 |
Related to #3086. |
Yeah, this is actually a dupe of #3086, closing. |
bors
pushed a commit
to rust-lang-ci/rust
that referenced
this issue
May 15, 2021
fix a bunch of clippy warnings
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Apr 25, 2024
chore: fix some typos in comments
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
include! only seems to work in an expression context. It would be very nice if it also worked for items.
The use case I have in mind is generating rust code. If include! worked for items then I could simply include the generated code with a hand-written file which would give me control over what is exported from my library.
The text was updated successfully, but these errors were encountered: