Struct edlang_ast::Span
source · pub struct Span {
+ Struct edlang_ast::Span
source · pub struct Span {
pub lo: usize,
pub hi: usize,
-}
Fields§
§lo: usize
§hi: usize
Implementations§
Trait Implementations§
source§impl Hash for Span
source§fn hash<__H>(&self, state: &mut __H)where
+}Fields§
§lo: usize
§hi: usize
Implementations§
Trait Implementations§
source§impl Ord for Span
source§impl PartialEq for Span
source§impl PartialOrd for Span
source§impl PartialOrd for Span
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read moresource§impl Copy for Span
source§impl Eq for Span
source§impl StructuralEq for Span
source§impl StructuralPartialEq for Span
Auto Trait Implementations§
§impl RefUnwindSafe for Span
§impl Send for Span
§impl Sync for Span
§impl Unpin for Span
§impl UnwindSafe for Span
Blanket Implementations§
source§impl Copy for Span
source§impl Eq for Span
source§impl StructuralEq for Span
source§impl StructuralPartialEq for Span
Auto Trait Implementations§
§impl RefUnwindSafe for Span
§impl Send for Span
§impl Sync for Span
§impl Unpin for Span
§impl UnwindSafe for Span
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read moresource§impl<T> From<T> for T
source§fn from(t: T) -> T
Returns the argument unchanged.
diff --git a/edlang_check/all.html b/edlang_check/all.html
index c689e029ab..903bf69700 100644
--- a/edlang_check/all.html
+++ b/edlang_check/all.html
@@ -1,2 +1,2 @@
-List of all items in this crate
- List of all items
\ No newline at end of file
+List of all items in this crate
+ List of all items
Functions
\ No newline at end of file
diff --git a/edlang_check/fn.lowering_error_to_report.html b/edlang_check/fn.lowering_error_to_report.html
new file mode 100644
index 0000000000..58b744fe71
--- /dev/null
+++ b/edlang_check/fn.lowering_error_to_report.html
@@ -0,0 +1,6 @@
+lowering_error_to_report in edlang_check - Rust
+ Function edlang_check::lowering_error_to_report
source · pub fn lowering_error_to_report(
+ error: LoweringError,
+ session: &Session
+) -> Report<'_, (String, Range<usize>)>
Expand description
Creates a report from a lowering error.
+
\ No newline at end of file
diff --git a/edlang_check/index.html b/edlang_check/index.html
index ef33263619..96b74ab8d2 100644
--- a/edlang_check/index.html
+++ b/edlang_check/index.html
@@ -1,3 +1,3 @@
edlang_check - Rust
- Crate edlang_check
source ·
\ No newline at end of file
+ All Items
+ Crate edlang_check
source · Functions
- Creates a report from a lowering error.
\ No newline at end of file
diff --git a/edlang_check/sidebar-items.js b/edlang_check/sidebar-items.js
index 5244ce01cc..b1c0315472 100644
--- a/edlang_check/sidebar-items.js
+++ b/edlang_check/sidebar-items.js
@@ -1 +1 @@
-window.SIDEBAR_ITEMS = {};
\ No newline at end of file
+window.SIDEBAR_ITEMS = {"fn":["lowering_error_to_report"]};
\ No newline at end of file
diff --git a/edlang_driver/fn.main.html b/edlang_driver/fn.main.html
index edad0e99fe..a063a9827e 100644
--- a/edlang_driver/fn.main.html
+++ b/edlang_driver/fn.main.html
@@ -1,2 +1,2 @@
main in edlang_driver - Rust
-
\ No newline at end of file
+