restructure to better support method inlining
This commit is contained in:
parent
def72bda47
commit
6473a87cec
13 changed files with 274 additions and 192 deletions
|
|
@ -264,7 +264,7 @@ fn get_item_path(cdata: cmd, id: ast::node_id) -> ast_map::path {
|
|||
}
|
||||
|
||||
fn maybe_get_item_ast(cdata: cmd, tcx: ty::ctxt, maps: maps,
|
||||
id: ast::node_id) -> option<@ast::item> {
|
||||
id: ast::node_id) -> option<ast::inlined_item> {
|
||||
let item_doc = lookup_item(id, cdata.data);
|
||||
let path = vec::init(item_path(item_doc));
|
||||
astencode::decode_inlined_item(cdata, tcx, maps, path, item_doc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue