@@ -209,5 +209,45 @@ register_diagnostics! {
209
209
E0257 ,
210
210
E0258 ,
211
211
E0364 , // item is private
212
- E0365 // item is private
212
+ E0365 , // item is private
213
+ E0397 , // failed to resolve
214
+ E0398 , // unresolved import
215
+ E0399 , // can't capture dynamic environment in a fn item
216
+ E0400 , // attempt to use a non-constant value in a constant
217
+ E0401 , // can't use type parameters from outer function
218
+ E0402 , // cannot use an outer type parameter in this context
219
+ E0403 , // the name `{}` is already used
220
+ E0404 , // is not a trait
221
+ E0405 , // use of undeclared trait name
222
+ E0406 , // undeclared associated type
223
+ E0407 , // method is not a member of trait
224
+ E0408 , // variable from pattern #1 is not bound in pattern #
225
+ E0409 , // variable is bound with different mode in pattern # than in
226
+ // pattern #1
227
+ E0410 , // variable from pattern is not bound in pattern 1
228
+ E0411 , // use of `Self` outside of an impl or trait
229
+ E0412 , // use of undeclared
230
+ E0413 , // declaration of shadows an enum variant or unit-like struct in
231
+ // scope
232
+ E0414 , // only irrefutable patterns allowed here
233
+ E0415 , // identifier is bound more than once in this parameter list
234
+ E0416 , // identifier is bound more than once in the same pattern
235
+ E0417 , // static variables cannot be referenced in a pattern, use a
236
+ // `const` instead
237
+ E0418 , // is not an enum variant, struct or const
238
+ E0419 , // unresolved enum variant, struct or const
239
+ E0420 , // is not an associated const
240
+ E0421 , // unresolved associated const
241
+ E0422 , // does not name a structure
242
+ E0423 , // is a struct variant name, but this expression uses it like a
243
+ // function name
244
+ E0424 , // `self` is not available in a static method.
245
+ E0425 , // unresolved name
246
+ E0426 , // use of undeclared label
247
+ E0427 , // cannot use `ref` binding mode with ...
248
+ E0428 , // duplicate definition of ...
249
+ E0429 , // `self` imports are only allowed within a { } list
250
+ E0430 , // `self` import can only appear once in the list
251
+ E0431 // `self` import can only appear in an import list with a non-empty
252
+ // prefix
213
253
}
0 commit comments