S0141: unsupported attribute
Generated from rellum-diagnostics/src/db.rs.
Explanation
The named attribute is not recognized by the compiler. It may be misspelled, not implemented yet, or not valid in Rellum.
Common causes
- misspelling an attribute name
- using an attribute planned for a future milestone
- copying an attribute from another language that Rellum does not support
Canonical fixes
- use a supported attribute such as repr(C), or remove the attribute
Before:
#[deprecated("use new_api")]
old_api() : Int = 1
After:
old_api() : Int = 1
Code example
#[deprecated("use new_api")]
old_api() : Int = 1