parse_detached_item

Function parse_detached_item 

Source
pub(crate) fn parse_detached_item(cx: &mut ParseCtxt<'_>) -> ParseResult<Item>
Expand description
 ⟨specs⟩ ::= ⟨fn-spec⟩
           | ⟨struct-spec⟩
           | ⟨enum-spec⟩
           | ⟨mod⟩
           | ⟨impl⟩