librustc: Fix some librustc test modes. rs=bustage
This commit is contained in:
parent
aed94a3eb1
commit
8bf38b26ee
@ -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(),
|
||||
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user