SIFR-CLASS-0003 belongs to the Classes and declarations diagnostic family. It means: duplicate enum or class value, or invalid variant.
Why It Happens
The class declaration cannot be lowered into a safe Rust-backed representation. Check field initialization, methods, inheritance constraints, and constructor shape.Use
sifr --explain SIFR-CLASS-0003 locally to see the renderer’s exact message template and any machine-applicable suggestions for the compiler version you are running.Erroneous Code
How To Fix It
Give class declarations a shape the compiler can lower: initialized fields, valid bases, unique variants, and supported field ordering.Fixed Code
Details
See the Error Codes index for the complete catalog.
