Type Definition erg_compiler::error::lower::LowerWarning

source ·
pub type LowerWarning = LowerError;

Implementations§

source§

impl LowerWarning

source

pub fn unused_warning(
    input: Input,
    errno: usize,
    loc: Location,
    name: &str,
    caused_by: String
) -> Self

source

pub fn union_return_type_warning(
    input: Input,
    errno: usize,
    loc: Location,
    caused_by: String,
    fn_name: &str,
    typ: &Type
) -> Self

source

pub fn builtin_exists_warning(
    input: Input,
    errno: usize,
    loc: Location,
    caused_by: String,
    name: &str
) -> Self