]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #41724 - achernyak:master, r=nikomatsakis
authorCorey Farwell <coreyf@rwell.org>
Thu, 11 May 2017 04:21:25 +0000 (00:21 -0400)
committerGitHub <noreply@github.com>
Thu, 11 May 2017 04:21:25 +0000 (00:21 -0400)
More Queries for Crate Metadata

This covers a little bit of clean up and the following parts of #41417:
* `fn item_attrs(&self, def_id: DefId) -> Vec<ast::Attribute>;`
* `fn fn_arg_names(&self, did: DefId) -> Vec<ast::Name>;`
* `fn trait_of_item(&self, def_id: DefId) -> Option<DefId>;`
* `fn impl_parent(&self, impl_def_id: DefId) -> Option<DefId>;`
* ` fn is_foreign_item(&self, did: DefId) -> bool;`
* `fn is_exported_symbol(&self, def_id: DefId) -> bool;`

r? @nikomatsakis


Trivial merge