mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
refactor: run fmt
This commit is contained in:
parent
c5588c9b1c
commit
1b4ebb3166
1 changed files with 6 additions and 3 deletions
|
|
@ -260,7 +260,8 @@ pub fn constructor_generator(span0: Span) -> OxcDiagnostic {
|
|||
|
||||
#[cold]
|
||||
pub fn field_constructor(span0: Span) -> OxcDiagnostic {
|
||||
OxcDiagnostic::error("Classes can't have a field named 'constructor'").with_labels([span0.into()])
|
||||
OxcDiagnostic::error("Classes can't have a field named 'constructor'")
|
||||
.with_labels([span0.into()])
|
||||
}
|
||||
|
||||
#[cold]
|
||||
|
|
@ -385,8 +386,10 @@ pub fn await_using_declaration_not_allowed_in_for_in_statement(span0: Span) -> O
|
|||
|
||||
#[cold]
|
||||
pub fn using_declaration_not_allowed_in_for_in_statement(span0: Span) -> OxcDiagnostic {
|
||||
OxcDiagnostic::error("The left-hand side of a for...in statement cannot be an using declaration.")
|
||||
.with_labels([span0.into()])
|
||||
OxcDiagnostic::error(
|
||||
"The left-hand side of a for...in statement cannot be an using declaration.",
|
||||
)
|
||||
.with_labels([span0.into()])
|
||||
}
|
||||
|
||||
#[cold]
|
||||
|
|
|
|||
Loading…
Reference in a new issue