conlang: add lang items, remove Empty, and shuffle typeck
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
//! The Result type, indicating a fallible operation.
|
||||
use super::preamble::*;
|
||||
|
||||
#[lang = "result"]
|
||||
pub enum Result<T, E> {
|
||||
Ok(T),
|
||||
Err(E),
|
||||
|
||||
Reference in New Issue
Block a user