mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Rename StructDef -> Struct
This commit is contained in:
parent
1ae4721c9c
commit
216a5344c8
63 changed files with 163 additions and 163 deletions
|
@ -5,7 +5,7 @@ use super::*;
|
|||
pub(super) fn struct_def(p: &mut Parser, m: Marker) {
|
||||
assert!(p.at(T![struct]));
|
||||
p.bump(T![struct]);
|
||||
struct_or_union(p, m, T![struct], STRUCT_DEF);
|
||||
struct_or_union(p, m, T![struct], STRUCT);
|
||||
}
|
||||
|
||||
pub(super) fn union_def(p: &mut Parser, m: Marker) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
//! Generated file, do not edit by hand, see `xtask/src/codegen`
|
||||
|
||||
#![allow(bad_style, missing_docs, unreachable_pub)]
|
||||
#[doc = r" The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT_DEF`."]
|
||||
#[doc = r" The kind of syntax node, e.g. `IDENT`, `USE_KW`, or `STRUCT`."]
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||
#[repr(u16)]
|
||||
pub enum SyntaxKind {
|
||||
|
@ -123,7 +123,7 @@ pub enum SyntaxKind {
|
|||
L_DOLLAR,
|
||||
R_DOLLAR,
|
||||
SOURCE_FILE,
|
||||
STRUCT_DEF,
|
||||
STRUCT,
|
||||
UNION,
|
||||
ENUM_DEF,
|
||||
FN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue