Skip to main content

type_error

Function type_error 

Source
pub fn type_error(
    location: SourceLocation,
    message: impl Display,
    expected: impl Display,
    found: impl Display,
    help: impl Display,
) -> Error
Expand description

Create a type error with location and helpful guidance.