File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -336,7 +336,7 @@ mod test {
336
336
use syntax:: ast;
337
337
use syntax:: ast_util;
338
338
339
- fn make_crate_type_attr ( t : ~str ) -> ast:: attribute {
339
+ fn make_crate_type_attr ( + t : ~str ) -> ast:: attribute {
340
340
ast_util:: respan ( ast_util:: dummy_sp ( ) , {
341
341
style: ast:: attr_outer,
342
342
value: ast_util:: respan ( ast_util:: dummy_sp ( ) ,
Original file line number Diff line number Diff line change @@ -1038,7 +1038,7 @@ trait fake_ext_ctxt {
1038
1038
fn cfg ( ) -> ast:: crate_cfg ;
1039
1039
fn parse_sess ( ) -> parse:: parse_sess ;
1040
1040
fn call_site ( ) -> span ;
1041
- fn ident_of ( st : ~str ) -> ast:: ident ;
1041
+ fn ident_of ( + st : ~str ) -> ast:: ident ;
1042
1042
}
1043
1043
1044
1044
#[ cfg( test) ]
@@ -1055,7 +1055,7 @@ impl fake_session: fake_ext_ctxt {
1055
1055
expn_info : None
1056
1056
}
1057
1057
}
1058
- fn ident_of ( st : ~str ) -> ast:: ident {
1058
+ fn ident_of ( + st : ~str ) -> ast:: ident {
1059
1059
self . interner . intern ( @st)
1060
1060
}
1061
1061
}
You can’t perform that action at this time.
0 commit comments