UPDATE - accept start_point and snippet instead of SourceMap
This commit is contained in:
parent
31e9f40bcf
commit
dd5850b8fa
4 changed files with 13 additions and 13 deletions
|
@ -67,7 +67,7 @@ fn handle_errors(sess: &ParseSess, span: Span, error: AttrError) {
|
|||
span,
|
||||
reason,
|
||||
is_bytestr,
|
||||
source_map: sess.source_map(),
|
||||
start_point_span: sess.source_map().start_point(span),
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue