Rename Span::empty
to Span::shrink_to_lo
, add Span::shrink_to_hi
This commit is contained in:
parent
e5fb13897d
commit
f88162654d
22 changed files with 38 additions and 31 deletions
|
@ -220,7 +220,7 @@ pub fn expand_build_diagnostic_array<'cx>(ecx: &'cx mut ExtCtxt,
|
|||
ty,
|
||||
expr,
|
||||
),
|
||||
vis: codemap::respan(span.empty(), ast::VisibilityKind::Public),
|
||||
vis: codemap::respan(span.shrink_to_lo(), ast::VisibilityKind::Public),
|
||||
span,
|
||||
tokens: None,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue