Type Alias erg_compiler::error::lower::LowerWarning

source ·
pub type LowerWarning = LowerError;

Aliased Type§

struct LowerWarning {
    pub core: Box<ErrorCore>,
    pub input: Input,
    pub caused_by: String,
    pub theme: Theme,
}

Fields§

§core: Box<ErrorCore>§input: Input§caused_by: String§theme: Theme

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

source

pub fn use_cast_warning( input: Input, errno: usize, loc: Location, caused_by: String ) -> Self

source

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