mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
rename sp
to span
This commit is contained in:
parent
e1d63d1d7c
commit
0fa70a8e2a
@ -1687,10 +1687,10 @@ impl<'a> Parser<'a> {
|
||||
// future.await()
|
||||
let lo = self.token.span;
|
||||
self.bump(); // (
|
||||
let sp = lo.to(self.token.span);
|
||||
let span = lo.to(self.token.span);
|
||||
self.bump(); // )
|
||||
|
||||
self.sess.emit_err(IncorrectUseOfAwait { span: sp });
|
||||
self.sess.emit_err(IncorrectUseOfAwait { span });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user