Skip to content

Commit 6ecaf65

Browse files
committed
Rust: fix downgrade script
1 parent 8ffe4d6 commit 6ecaf65

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

rust/downgrades/f78cb8f2ab3bafb0d116cd8128f0315db24aea33/old.dbscheme renamed to rust/downgrades/7b74969ab7ac48b2c51700c62e5a51decca392ea/old.dbscheme

+8-2
Original file line numberDiff line numberDiff line change
@@ -1960,9 +1960,9 @@ infer_type_reprs(
19601960
;
19611961

19621962
#keyset[id]
1963-
item_expandeds(
1963+
item_attribute_macro_expansions(
19641964
int id: @item ref,
1965-
int expanded: @ast_node ref
1965+
int attribute_macro_expansion: @macro_items ref
19661966
);
19671967

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

3091+
#keyset[id]
3092+
macro_call_macro_call_expansions(
3093+
int id: @macro_call ref,
3094+
int macro_call_expansion: @ast_node ref
3095+
);
3096+
30913097
macro_defs(
30923098
unique int id: @macro_def
30933099
);
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
description: Rename `macro_call_expansion` to `expanded`, and remove `attribute_macro_expansion`
2+
compatibility: backwards
3+
macro_call_expandeds.rel: reorder macro_call_macro_call_expansions.rel (@macro_call id, @ast_node expanded) id expanded
4+
macro_call_macro_call_expansions.rel: delete
5+
item_attribute_macro_expansions.rel: delete

rust/downgrades/f78cb8f2ab3bafb0d116cd8128f0315db24aea33/downgrade.ql

-7
This file was deleted.

rust/downgrades/f78cb8f2ab3bafb0d116cd8128f0315db24aea33/upgrade.properties

-4
This file was deleted.

0 commit comments

Comments
 (0)