pub struct CheckInfo {
pub errors: Vec<String>,
pub warnings: Vec<String>,
pub deps: Vec<PathBuf>,
pub lints: Vec<String>,
}Expand description
Result of type-checking one .tl file.
Fields§
§errors: Vec<String>file:line:col: message for syntax and type errors.
warnings: Vec<String>file:line:col: message for warnings (non-fatal).
deps: Vec<PathBuf>Files pulled in via require during checking (.tl / .d.tl / .lua).
lints: Vec<String>htl lint findings (nil-index, enum-exhaustive). Advisory unless the caller
promotes them (htl check --strict, include_tl!).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CheckInfo
impl RefUnwindSafe for CheckInfo
impl Send for CheckInfo
impl Sync for CheckInfo
impl Unpin for CheckInfo
impl UnsafeUnpin for CheckInfo
impl UnwindSafe for CheckInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more