Ruta graveolens  ·  notes from a language experiment  ·  cultivated since 2025

E0202: Undefined function

CodeCategoryStability
E0202SemanticPermanent

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()
}

References