about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-12-05 18:47:10 -0800
committerDavid Tolnay <dtolnay@gmail.com>2024-01-14 12:40:18 -0800
commit56df3bb70d808d535e46f1c017bafeccbbf1cb6d (patch)
tree082cc21e41cbf13840b14c18c88bcd0554fe7b61 /tests/codegen/patchable-function-entry
parent273035458dc24e2babbb4708dbb870243742566e (diff)
downloadrust-56df3bb70d808d535e46f1c017bafeccbbf1cb6d.tar.gz
rust-56df3bb70d808d535e46f1c017bafeccbbf1cb6d.zip
Move nonzero_integers macro call to bottom of module
This way all the other macros defined in this module, such as
nonzero_leading_trailing_zeros, are available to call within the expansion of
nonzero_integers.

(Macros defined by macro_rules cannot be called from the same module above the
location of the macro_rules.)

In this commit the ability to call things like nonzero_leading_trailing_zeros is
not immediately used, but later commits in this stack will be consolidating the
entire API of NonZeroT to be generated through nonzero_integers, and will need
to make use of some of the other macros to do that.
Diffstat (limited to 'tests/codegen/patchable-function-entry')
0 files changed, 0 insertions, 0 deletions