pub struct Parsed {
pub file: File,
pub diagnostics: Vec<Diagnostic>,
}Expand description
The result of parsing one source file. The tree is complete even when there are
diagnostics: parts that failed to parse are skipped or marked ExprKind::Error.
Fields§
§file: File§diagnostics: Vec<Diagnostic>Trait Implementations§
Auto Trait Implementations§
impl Freeze for Parsed
impl RefUnwindSafe for Parsed
impl Send for Parsed
impl Sync for Parsed
impl Unpin for Parsed
impl UnsafeUnpin for Parsed
impl UnwindSafe for Parsed
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