-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(ts_extend_w_tt_item)]
This is a tracking issue for implementation of Extend
parameterized over "token tree items" (Group
, Literal
, Punct
, Ident
) for TokenStream
as proposed by this API Change Proposal (ACP).
In this context, "token tree item" is a stipulative definition that means any of the types that can be stored as variants inside of proc_macro::TokenTree
, namely
Public API
// proc_macro
impl Extend<Group> for TokenStream {
/*...*/
}
impl Extend<Ident> for TokenStream {
/*...*/
}
impl Extend<Punct> for TokenStream {
/*...*/
}
impl Extend<Literal> for TokenStream {
/*...*/
}
Steps / History
- Implementation: #...
- Final comment period (FCP)1
- Stabilization PR
Unresolved Questions
- None yet.
Footnotes
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.