File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ fn syntax_expander_table() -> HashMap<~str, syntax_extension> {
123
123
~"quote_tokens", builtin_normal_tt ( ext:: quote:: expand_quote_tokens) ) ;
124
124
syntax_expanders. insert ( ~"quote_expr",
125
125
builtin_normal_tt ( ext:: quote:: expand_quote_expr) ) ;
126
- syntax_expanders. insert ( ~"quote_type ",
127
- builtin_normal_tt ( ext:: quote:: expand_quote_type ) ) ;
126
+ syntax_expanders. insert ( ~"quote_ty ",
127
+ builtin_normal_tt ( ext:: quote:: expand_quote_ty ) ) ;
128
128
syntax_expanders. insert ( ~"quote_item",
129
129
builtin_normal_tt ( ext:: quote:: expand_quote_item) ) ;
130
130
syntax_expanders. insert ( ~"quote_pat",
Original file line number Diff line number Diff line change @@ -62,11 +62,11 @@ pub fn expand_quote_pat(cx: ext_ctxt,
62
62
~[ e_refutable] , tts) )
63
63
}
64
64
65
- pub fn expand_quote_type ( cx : ext_ctxt ,
66
- sp : span ,
67
- tts : ~[ ast:: token_tree ] ) -> base:: mac_result {
65
+ pub fn expand_quote_ty ( cx : ext_ctxt ,
66
+ sp : span ,
67
+ tts : ~[ ast:: token_tree ] ) -> base:: mac_result {
68
68
let e_param_colons = build:: mk_lit ( cx, sp, ast:: lit_bool ( false ) ) ;
69
- base:: mr_expr ( expand_parse_call ( cx, sp, ~"parse_type ",
69
+ base:: mr_expr ( expand_parse_call ( cx, sp, ~"parse_ty ",
70
70
~[ e_param_colons] , tts) )
71
71
}
72
72
You can’t perform that action at this time.
0 commit comments