pub struct RustcError {
pub code: String,
pub message: String,
pub file: Option<String>,
pub line: Option<usize>,
}Expand description
Rustc error information
Fields§
§code: StringError code (e.g., “E0382”)
message: StringError message
file: Option<String>File path
line: Option<usize>Line number
Implementations§
Trait Implementations§
Source§impl Clone for RustcError
impl Clone for RustcError
Source§fn clone(&self) -> RustcError
fn clone(&self) -> RustcError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RustcError
impl RefUnwindSafe for RustcError
impl Send for RustcError
impl Sync for RustcError
impl Unpin for RustcError
impl UnsafeUnpin for RustcError
impl UnwindSafe for RustcError
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