parent
c6bbb95ce2
commit
451e8c1c61
327 changed files with 638 additions and 635 deletions
|
@ -8,7 +8,7 @@
|
|||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
#[macro_escape];
|
||||
#![macro_escape]
|
||||
|
||||
use abi;
|
||||
use abi::AbiSet;
|
||||
|
@ -811,6 +811,9 @@ impl<'a> Parser<'a> {
|
|||
pub fn warn(&mut self, m: &str) {
|
||||
self.sess.span_diagnostic.span_warn(self.span, m)
|
||||
}
|
||||
pub fn span_warn(&mut self, sp: Span, m: &str) {
|
||||
self.sess.span_diagnostic.span_warn(sp, m)
|
||||
}
|
||||
pub fn span_err(&mut self, sp: Span, m: &str) {
|
||||
self.sess.span_diagnostic.span_err(sp, m)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue