Skip to content

Rust: expand attribute macros #19334

New issue

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

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

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
May 14, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rust: fix downgrade script
  • Loading branch information
redsun82 committed Apr 30, 2025
commit 6ecaf6513218d6814ed5310e88e55f5b911ba9f1
Original file line number Diff line number Diff line change
@@ -1960,9 +1960,9 @@ infer_type_reprs(
;

#keyset[id]
item_expandeds(
item_attribute_macro_expansions(
int id: @item ref,
int expanded: @ast_node ref
int attribute_macro_expansion: @macro_items ref
);

@labelable_expr =
@@ -3088,6 +3088,12 @@ macro_call_token_trees(
int token_tree: @token_tree ref
);

#keyset[id]
macro_call_macro_call_expansions(
int id: @macro_call ref,
int macro_call_expansion: @ast_node ref
);

macro_defs(
unique int id: @macro_def
);
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
description: Rename `macro_call_expansion` to `expanded`, and remove `attribute_macro_expansion`
compatibility: backwards
macro_call_expandeds.rel: reorder macro_call_macro_call_expansions.rel (@macro_call id, @ast_node expanded) id expanded
macro_call_macro_call_expansions.rel: delete
item_attribute_macro_expansions.rel: delete

This file was deleted.

This file was deleted.