Skip to content

Commit a3f877b

Browse files
loftyinclinationemilio
authored andcommitted
add "gen" to list of matches in 'rust_mangle'
1 parent e9bd42c commit a3f877b

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

bindgen-tests/tests/expectations/tests/keywords.rs

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindgen-tests/tests/headers/keywords.h

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ int box;
2121
int crate;
2222
int false;
2323
int fn;
24+
int gen;
2425
int impl;
2526
int in;
2627
int let;

bindgen/ir/context.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -867,7 +867,7 @@ If you encounter an error missing from this list, please file an issue or a PR!"
867867
"abstract" | "alignof" | "as" | "async" | "await" | "become" |
868868
"box" | "break" | "const" | "continue" | "crate" | "do" |
869869
"dyn" | "else" | "enum" | "extern" | "false" | "final" |
870-
"fn" | "for" | "if" | "impl" | "in" | "let" | "loop" |
870+
"fn" | "for" | "gen" | "if" | "impl" | "in" | "let" | "loop" |
871871
"macro" | "match" | "mod" | "move" | "mut" | "offsetof" |
872872
"override" | "priv" | "proc" | "pub" | "pure" | "ref" |
873873
"return" | "Self" | "self" | "sizeof" | "static" |

0 commit comments

Comments
 (0)