S0024: unknown built-in effect
Generated from rellum-diagnostics/src/db.rs.
Explanation
Effect expressions and request bindings can call only effects known to the analyzer. Unknown built-in effect names cannot be categorized for resource checks or lowered to runtime work.
Common causes
- misspelling a built-in effect name
- calling a wrapper before it is defined or imported
- using a pure function name with ! syntax
Canonical fixes
- use a known built-in effect or define an effect wrapper
Before:
main! = pritn!(value)
After:
main! = print!(value)
- remove ! when the callee is a pure function
Code example
main! = pritn!(value)