Docs.rs
erg_compiler-0.5.11-nightly.5
erg_compiler 0.5.11-nightly.5
Docs.rs crate page
MIT OR Apache-2.0
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
mtshiba
Dependencies
erg_common ^0.5.11-nightly.5
normal
erg_parser ^0.5.11-nightly.5
normal
Versions
5.71%
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
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_var_error
override_error
reassign_error
singular_no_attr_error
syntax_error
unused_warning
violate_decl_error
visibility_error
In erg_compiler::error
?
Type Definition
erg_compiler
::
error
::
LowerError
source
·
[
−
]
pub type LowerError =
TyCheckError
;
Implementations
source
impl
LowerError
source
pub fn
syntax_error
<S:
Into
<
AtomicStr
>>(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
desc: S,
hint:
Option
<
AtomicStr
>
) -> Self
source
pub fn
duplicate_decl_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
) -> Self
source
pub fn
duplicate_definition_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
) -> Self
source
pub fn
violate_decl_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
,
spec_t: &
Type
,
found_t: &
Type
) -> Self
source
pub fn
no_var_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
,
similar_name:
Option
<&
str
>
) -> Self
source
pub fn
no_attr_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
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:
AtomicStr
,
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:
AtomicStr
,
name: &
str
) -> Self
source
pub fn
unused_warning
(
input:
Input
,
errno:
usize
,
loc:
Location
,
name: &
str
,
caused_by:
AtomicStr
) -> Self
source
pub fn
del_error
(
input:
Input
,
errno:
usize
,
ident: &
Identifier
,
caused_by:
AtomicStr
) -> Self
source
pub fn
visibility_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
,
vis:
Visibility
) -> Self
source
pub fn
override_error
<S:
Into
<
AtomicStr
>>(
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:
AtomicStr
) -> Self
source
pub fn
file_error
(
input:
Input
,
errno:
usize
,
desc:
String
,
loc:
Location
,
caused_by:
AtomicStr
,
hint:
Option
<
AtomicStr
>
) -> Self
source
pub fn
module_env_error
(
input:
Input
,
errno:
usize
,
mod_name: &
str
,
loc:
Location
,
caused_by:
AtomicStr
) -> Self
source
pub fn
import_error
(
input:
Input
,
errno:
usize
,
desc:
String
,
loc:
Location
,
caused_by:
AtomicStr
,
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:
AtomicStr
) -> Self
source
pub fn
declare_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
) -> Self
source
pub fn
invalid_type_cast_error
(
input:
Input
,
errno:
usize
,
loc:
Location
,
caused_by:
AtomicStr
,
name: &
str
,
cast_to: &
Type
,
hint:
Option
<
AtomicStr
>
) -> Self