Skip to content

Commit e3982cd

Browse files
committed
fix: resolve remaining syntax error in wrt-error/src/errors.rs
Fix missing closing parentheses that were not caught by the global replacement, specifically the pattern of semicolons that should be closing parentheses.
1 parent f65516a commit e3982cd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

wrt-error/src/errors.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,56 +118,56 @@ impl Error {
118118
ErrorCategory::Component,
119119
codes::COMPONENT_NOT_FOUND,
120120
"Component not found",
121-
;
121+
);
122122
/// Insufficient memory error
123123
pub const INSUFFICIENT_MEMORY: Self = Self::new(
124124
ErrorCategory::Resource,
125125
codes::INSUFFICIENT_MEMORY,
126126
"Insufficient memory for operation",
127-
;
127+
);
128128
/// No WIT definitions found error
129129
pub const NO_WIT_DEFINITIONS_FOUND: Self = Self::new(
130130
ErrorCategory::Parse,
131131
codes::NO_WIT_DEFINITIONS_FOUND,
132132
"No WIT worlds or interfaces found in input",
133-
;
133+
);
134134
/// Out of memory error
135135
pub const OUT_OF_MEMORY: Self = Self::new(
136136
ErrorCategory::Resource,
137137
codes::OUT_OF_MEMORY,
138138
"Out of memory",
139-
;
139+
);
140140
/// Stack overflow error
141141
pub const STACK_OVERFLOW: Self = Self::new(
142142
ErrorCategory::Runtime,
143143
codes::STACK_OVERFLOW,
144144
"Stack overflow",
145-
;
145+
);
146146
/// Too many components error
147147
pub const TOO_MANY_COMPONENTS: Self = Self::new(
148148
ErrorCategory::Component,
149149
codes::TOO_MANY_COMPONENTS,
150150
"Too many components instantiated",
151-
;
151+
);
152152
// Agent C constant error instances
153153
/// WIT input too large error
154154
pub const WIT_INPUT_TOO_LARGE: Self = Self::new(
155155
ErrorCategory::Parse,
156156
codes::WIT_INPUT_TOO_LARGE,
157157
"WIT input too large for parser buffer",
158-
;
158+
);
159159
/// WIT interface limit exceeded error
160160
pub const WIT_INTERFACE_LIMIT_EXCEEDED: Self = Self::new(
161161
ErrorCategory::Parse,
162162
codes::WIT_INTERFACE_LIMIT_EXCEEDED,
163163
"Too many WIT interfaces for parser limits",
164-
;
164+
);
165165
/// WIT world limit exceeded error
166166
pub const WIT_WORLD_LIMIT_EXCEEDED: Self = Self::new(
167167
ErrorCategory::Parse,
168168
codes::WIT_WORLD_LIMIT_EXCEEDED,
169169
"Too many WIT worlds for parser limits",
170-
;
170+
);
171171

172172
/// Create a new error.
173173
#[must_use]

0 commit comments

Comments
 (0)