librustc: Fix some librustc test modes. rs=bustage

This commit is contained in:
Patrick Walton 2013-01-07 15:36:32 -08:00
parent aed94a3eb1
commit 8bf38b26ee
2 changed files with 3 additions and 3 deletions

View File

@ -336,7 +336,7 @@ mod test {
use syntax::ast;
use syntax::ast_util;
fn make_crate_type_attr(t: ~str) -> ast::attribute {
fn make_crate_type_attr(+t: ~str) -> ast::attribute {
ast_util::respan(ast_util::dummy_sp(), {
style: ast::attr_outer,
value: ast_util::respan(ast_util::dummy_sp(),

View File

@ -1038,7 +1038,7 @@ trait fake_ext_ctxt {
fn cfg() -> ast::crate_cfg;
fn parse_sess() -> parse::parse_sess;
fn call_site() -> span;
fn ident_of(st: ~str) -> ast::ident;
fn ident_of(+st: ~str) -> ast::ident;
}
#[cfg(test)]
@ -1055,7 +1055,7 @@ impl fake_session: fake_ext_ctxt {
expn_info: None
}
}
fn ident_of(st: ~str) -> ast::ident {
fn ident_of(+st: ~str) -> ast::ident {
self.interner.intern(@st)
}
}