Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRQL/prql
/ with_span
Method
with_span
prqlc/prqlc-parser/src/error.rs:192–195 ·
view source on GitHub ↗
(mut self, span: Option<Span>)
Source
from the content-addressed store, hash-verified
190
}
191
192
fn with_span(mut self, span: Option<Span>) -> Self {
193
self.span = span;
194
self
195
}
196
197
fn with_code(mut self, code: &'static str) -> Self {
198
self.code = Some(code);
Callers
15
rich_error_to_error
Function · 0.80
test_error_messages
Function · 0.80
process_array_in
Function · 0.80
process_date_trunc
Function · 0.80
process_date_to_text
Function · 0.80
translate_star
Function · 0.80
unpack_as_int_literal
Function · 0.80
translate_operator_expr
Function · 0.80
try_into_exprs
Function · 0.80
try_cast
Method · 0.80
lower_to_ir
Function · 0.80
lower_table_ref
Method · 0.80
Calls
no outgoing calls
Tested by
1
test_error_messages
Function · 0.64