Skip to content

Commit fec2eba

Browse files
committed
fix: add "struct"
1 parent 744a259 commit fec2eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_interface/src/passes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ fn early_lint_checks(tcx: TyCtxt<'_>, (): ()) {
339339
} else {
340340
match keyword {
341341
"const" | "static" => FerrisFix::ScreamingSnakeCase,
342-
"trait" | "mod" | "union" | "type" | "enum" => FerrisFix::PascalCase,
342+
"struct" | "trait" | "mod" | "union" | "type" | "enum" => FerrisFix::PascalCase,
343343
_ => FerrisFix::SnakeCase,
344344
}
345345
}

0 commit comments

Comments
 (0)