about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorDavid Tolnay <dtolnay@gmail.com>2023-12-05 18:21:50 -0800
committerDavid Tolnay <dtolnay@gmail.com>2024-01-14 12:40:33 -0800
commit54cb822563dc7ffd4838c23d04f7c1ad6c3e90cd (patch)
tree34532327e4ae1be81ed549adc21f39176fcfc969 /tests/debuginfo/enum-thinlto.rs
parent56df3bb70d808d535e46f1c017bafeccbbf1cb6d (diff)
downloadrust-54cb822563dc7ffd4838c23d04f7c1ad6c3e90cd.tar.gz
rust-54cb822563dc7ffd4838c23d04f7c1ad6c3e90cd.zip
Define only a single NonZero type per macro call
Later in this stack, as the nonzero_integers macro is going to be
responsible for producing a larger fraction of the API for the NonZero
integer types, it will need to receive a number of additional arguments
beyond the ones currently seen here.

Additional arguments, especially named arguments across multiple lines,
will turn out clearer if everything in one macro call is for the same
NonZero type.

This commit adopts a similar arrangement to what we do for generating
the API of the integer primitives (`impl u8` etc), which also generate a
single type's API per top-level macro call, rather than generating all
12 impl blocks for the 12 types from one macro call.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions