E0202: Undefined function
| Code | Category | Stability |
|---|---|---|
E0202 | Semantic | Permanent |
Explanation
Rue could not resolve the function named by a call expression.
Likely cause
The function name is misspelled, is outside the current module's visible scope, or should be called through an imported module binding.
Examples
Call to an undefined function
fn main() -> i32 {
compute()
}
Define the called function
fn compute() -> i32 { 42 }
fn main() -> i32 {
compute()
}