Docs.rs
erg_compiler-0.6.7-nightly.1
erg_compiler 0.6.7-nightly.1
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
mtshiba
Dependencies
erg_common ^0.6.7-nightly.1
normal
erg_parser ^0.6.7-nightly.1
normal
erg_common ^0.6.7-nightly.1
build
Versions
6.3%
of the crate is documented
Go to latest stable release
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
LowerError
Methods
access_before_def_error
access_deleted_var_error
declare_error
del_error
duplicate_decl_error
duplicate_definition_error
file_error
import_error
inheritance_error
inner_typedef_error
invalid_type_cast_error
module_env_error
no_attr_error
no_type_error
no_var_error
override_error
reassign_error
singular_no_attr_error
syntax_error
type_not_found
unused_expr_warning
unused_subroutine_warning
violate_decl_error
visibility_error
In erg_compiler::error::lower
?
Type Definition
erg_compiler
::
error
::
lower
::
LowerError
source
·
[
−
]
pub type LowerError =
CompileError
;
Implementations
§
source
§
impl
LowerError
source
pub fn
syntax_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, desc:
String
, hint:
Option
<
String
> ) -> Self
source
pub fn
unused_expr_warning
( input:
Input
, errno:
usize
, expr: &
Expr
, caused_by:
String
) -> Self
source
pub fn
unused_subroutine_warning
( input:
Input
, errno:
usize
, expr: &
Expr
, caused_by:
String
) -> Self
source
pub fn
duplicate_decl_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
) -> Self
source
pub fn
duplicate_definition_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
) -> Self
source
pub fn
violate_decl_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, spec_t: &
Type
, found_t: &
Type
) -> Self
source
pub fn
no_var_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
access_before_def_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, defined_line:
u32
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
access_deleted_var_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, del_line:
u32
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
no_type_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
type_not_found
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, typ: &
Type
) -> Self
source
pub fn
no_attr_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, obj_t: &
Type
, name: &
str
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
singular_no_attr_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, obj_name: &
str
, obj_t: &
Type
, name: &
str
, similar_name:
Option
<&
str
> ) -> Self
source
pub fn
reassign_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
) -> Self
source
pub fn
del_error
( input:
Input
, errno:
usize
, ident: &
Identifier
, is_const:
bool
, caused_by:
String
) -> Self
source
pub fn
visibility_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, vis:
Visibility
) -> Self
source
pub fn
override_error
<S:
Into
<
String
>>( input:
Input
, errno:
usize
, name: &
str
, name_loc:
Location
, superclass: &
Type
, caused_by: S ) -> Self
source
pub fn
inheritance_error
( input:
Input
, errno:
usize
, class:
String
, loc:
Location
, caused_by:
String
) -> Self
source
pub fn
file_error
( input:
Input
, errno:
usize
, desc:
String
, loc:
Location
, caused_by:
String
, hint:
Option
<
String
> ) -> Self
source
pub fn
module_env_error
( input:
Input
, errno:
usize
, mod_name: &
str
, loc:
Location
, caused_by:
String
) -> Self
source
pub fn
import_error
( input:
Input
, errno:
usize
, desc:
String
, loc:
Location
, caused_by:
String
, similar_erg_mod:
Option
<
Str
>, similar_py_mod:
Option
<
Str
> ) -> Self
source
pub fn
inner_typedef_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
) -> Self
source
pub fn
declare_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
) -> Self
source
pub fn
invalid_type_cast_error
( input:
Input
, errno:
usize
, loc:
Location
, caused_by:
String
, name: &
str
, cast_to: &
Type
, hint:
Option
<
String
> ) -> Self