mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Rust: rename RecordFieldList to StructFieldList
This commit is contained in:
@@ -1489,7 +1489,7 @@ class _:
|
||||
"""
|
||||
|
||||
|
||||
@annotate(RecordFieldList)
|
||||
@annotate(StructFieldList)
|
||||
class _:
|
||||
"""
|
||||
A field list of a struct expression. For example:
|
||||
@@ -1627,6 +1627,7 @@ class _:
|
||||
todo!()
|
||||
```
|
||||
"""
|
||||
field_list: _ | ql.db_table_name("struct_field_lists_")
|
||||
|
||||
|
||||
@annotate(TokenTree)
|
||||
|
||||
4
rust/schema/ast.py
generated
4
rust/schema/ast.py
generated
@@ -543,7 +543,7 @@ class StructField(AstNode, ):
|
||||
type_repr: optional["TypeRepr"] | child
|
||||
visibility: optional["Visibility"] | child
|
||||
|
||||
class RecordFieldList(FieldList, ):
|
||||
class StructFieldList(FieldList, ):
|
||||
fields: list["StructField"] | child
|
||||
|
||||
class StructPat(Pat, ):
|
||||
@@ -716,7 +716,7 @@ class Union(Item, VariantDef, ):
|
||||
attrs: list["Attr"] | child
|
||||
generic_param_list: optional["GenericParamList"] | child
|
||||
name: optional["Name"] | child
|
||||
struct_field_list: optional["RecordFieldList"] | child
|
||||
struct_field_list: optional["StructFieldList"] | child
|
||||
visibility: optional["Visibility"] | child
|
||||
where_clause: optional["WhereClause"] | child
|
||||
|
||||
|
||||
Reference in New Issue
Block a user