pub struct CheckResult {
pub module: Module,
pub diagnostics: Vec<Diagnostic>,
pub probe: ProbeResult,
pub index: Option<Index>,
}Expand description
Result of type checking one file.
Fields§
§module: ModuleThe typed module. Partially populated when errors were reported;
only meaningful for codegen when diagnostics has no errors.
diagnostics: Vec<Diagnostic>§probe: ProbeResultWhat the probe found: empty unless check_with was given one.
index: Option<Index>What the index recorded: None unless CheckOptions::index.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CheckResult
impl RefUnwindSafe for CheckResult
impl Send for CheckResult
impl Sync for CheckResult
impl Unpin for CheckResult
impl UnsafeUnpin for CheckResult
impl UnwindSafe for CheckResult
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