Function rustc::plugin::build::find_plugin_registrar[src]
pub fn find_plugin_registrar(diagnostic: &SpanHandler, krate: &Crate) -> Option<NodeId>
Find the function marked with #[plugin_registrar], if any.
pub fn find_plugin_registrar(diagnostic: &SpanHandler, krate: &Crate) -> Option<NodeId>
Find the function marked with #[plugin_registrar], if any.
Prefix searches with a type followed by a colon (e.g.
fn:) to restrict the search to a given type.
Accepted types are: fn, mod,
struct (or str), enum,
trait, typedef (or
tdef).