Uncommented missed spans check
This commit is contained in:
parent
de95b4cefb
commit
87a5d88aeb
1 changed files with 4 additions and 4 deletions
|
@ -47,10 +47,10 @@ impl<'a> FmtVisitor<'a> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// assert!(start < end,
|
assert!(start < end,
|
||||||
// "Request to format inverted span: {:?} to {:?}",
|
"Request to format inverted span: {:?} to {:?}",
|
||||||
// self.codemap.lookup_char_pos(start),
|
self.codemap.lookup_char_pos(start),
|
||||||
// self.codemap.lookup_char_pos(end));
|
self.codemap.lookup_char_pos(end));
|
||||||
|
|
||||||
self.last_pos = end;
|
self.last_pos = end;
|
||||||
let span = codemap::mk_sp(start, end);
|
let span = codemap::mk_sp(start, end);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue