Function rustc_lint::metadata::decoder::get_tuple_struct_definition_if_ctorUnstable
[-] [+]
[src]
pub fn get_tuple_struct_definition_if_ctor(cdata: &crate_metadata, node_id: u32) -> Option<DefId>
If node_id is the constructor of a tuple struct, retrieve the NodeId of the actual type definition, otherwise, return None