Skip to content

Commit 8bf38b2

Browse files
committed
librustc: Fix some librustc test modes. rs=bustage
1 parent aed94a3 commit 8bf38b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/librustc/driver/session.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ mod test {
336336
use syntax::ast;
337337
use syntax::ast_util;
338338

339-
fn make_crate_type_attr(t: ~str) -> ast::attribute {
339+
fn make_crate_type_attr(+t: ~str) -> ast::attribute {
340340
ast_util::respan(ast_util::dummy_sp(), {
341341
style: ast::attr_outer,
342342
value: ast_util::respan(ast_util::dummy_sp(),

src/librustc/middle/astencode.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,7 @@ trait fake_ext_ctxt {
10381038
fn cfg() -> ast::crate_cfg;
10391039
fn parse_sess() -> parse::parse_sess;
10401040
fn call_site() -> span;
1041-
fn ident_of(st: ~str) -> ast::ident;
1041+
fn ident_of(+st: ~str) -> ast::ident;
10421042
}
10431043

10441044
#[cfg(test)]
@@ -1055,7 +1055,7 @@ impl fake_session: fake_ext_ctxt {
10551055
expn_info: None
10561056
}
10571057
}
1058-
fn ident_of(st: ~str) -> ast::ident {
1058+
fn ident_of(+st: ~str) -> ast::ident {
10591059
self.interner.intern(@st)
10601060
}
10611061
}

0 commit comments

Comments
 (0)