syntax: Rename 'module' extension to 'module_path'
This commit is contained in:
parent
2cfe8fb357
commit
7d18369804
@ -103,7 +103,7 @@ fn builtin_item_tt(f: syntax_expander_tt_item_) -> syntax_extension {
|
||||
builtin(ext::source_util::expand_include_str));
|
||||
syntax_expanders.insert(~"include_bin",
|
||||
builtin(ext::source_util::expand_include_bin));
|
||||
syntax_expanders.insert(~"module",
|
||||
syntax_expanders.insert(~"module_path",
|
||||
builtin(ext::source_util::expand_mod));
|
||||
syntax_expanders.insert(~"proto",
|
||||
builtin_item_tt(ext::pipes::expand_proto));
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
mod m1 {
|
||||
mod m2 {
|
||||
fn where_am_i() -> ~str { module!{} }
|
||||
fn where_am_i() -> ~str { module_path!{} }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user