Convert most code to new inner attribute syntax.

Closes #2569
This commit is contained in:
Brian Anderson 2014-03-21 18:05:05 -07:00 committed by Alex Crichton
parent c6bbb95ce2
commit 451e8c1c61
327 changed files with 638 additions and 635 deletions

View file

@ -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)
}