pub struct ResolveResult {
pub definitions: Definitions,
pub file: File,
pub diagnostics: Vec<Diagnostic>,
pub tests: Vec<TestFn>,
}Expand description
Output of resolve: the namespace table, the merged file whose
item_indexes the definitions refer to (the input plus the implicit std
modules, see STD_MODULES), and any diagnostics. Downstream stages must
type-check against this file, not the original input, since
item_indexes index into it.
Fields§
§definitions: Definitions§file: File§diagnostics: Vec<Diagnostic>§tests: Vec<TestFn>Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolveResult
impl RefUnwindSafe for ResolveResult
impl Send for ResolveResult
impl Sync for ResolveResult
impl Unpin for ResolveResult
impl UnsafeUnpin for ResolveResult
impl UnwindSafe for ResolveResult
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more