pub struct Parsed {
pub file: File,
pub errors: Vec<ParseError>,
pub dropped: Vec<Spanned<String>>,
}Expand description
What parse_recovering returns.
Fields§
§file: FileThe file, with every item that parsed.
errors: Vec<ParseError>§dropped: Vec<Spanned<String>>The names of the top-level items dropped after their names were
read: fn f(x: Int { drops f.
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