diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-09-01 02:07:05 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2024-09-01 02:07:05 +0300 |
| commit | 89a39d918f396c30fe3d0cb8f8f3cf6319736c14 (patch) | |
| tree | d12204837650d2412c0b37ec34095fb1f88cd30c /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs | |
| parent | 7b0134389d272699680899d79400c47a1d178c13 (diff) | |
| download | rust-89a39d918f396c30fe3d0cb8f8f3cf6319736c14.tar.gz rust-89a39d918f396c30fe3d0cb8f8f3cf6319736c14.zip | |
Handle attributes correctly in "Flip comma"
Attributes often contain path followed by a token tree (e.g. `align(2)`, and the previous code handled them as two separate items, which led to results such as `#[repr(alignC, (2))]`. An alternative is to just make the assist unavailable in attributes, like we do in macros. But contrary to macros, attributes often have a fixed form, so this seems useful.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions
