Function ra_ap_mbe::parse_to_token_tree_static_span

source ยท
pub fn parse_to_token_tree_static_span<S>(
    span: S,
    text: &str
) -> Option<Subtree<S>>
where S: Copy + Debug,
Expand description

Convert a string to a TokenTree. The passed span will be used for all spans of the produced subtree.