Trait prql_compiler::WithErrorInfo
pub trait WithErrorInfo: Sized {
// Required methods
fn push_hint<S>(self, hint: S) -> Self
where S: Into<String>;
fn with_hints<S, I>(self, hints: I) -> Self
where S: Into<String>,
I: IntoIterator<Item = S>;
fn with_span(self, span: Option<Span>) -> Self;
fn with_code(self, code: &'static str) -> Self;
}
Required Methods§
fn push_hint<S>(self, hint: S) -> Self
fn with_hints<S, I>(self, hints: I) -> Self
fn with_span(self, span: Option<Span>) -> Self
fn with_code(self, code: &'static str) -> Self
Object Safety§
This trait is not object safe.