Remove pretty-print/reparse hack, and add derive-specific hack
This commit is contained in:
parent
2987785df3
commit
530a629635
8 changed files with 186 additions and 410 deletions
|
@ -44,6 +44,12 @@ pub enum TokenTree {
|
|||
Delimited(DelimSpan, DelimToken, TokenStream),
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone)]
|
||||
pub enum CanSynthesizeMissingTokens {
|
||||
Yes,
|
||||
No,
|
||||
}
|
||||
|
||||
// Ensure all fields of `TokenTree` is `Send` and `Sync`.
|
||||
#[cfg(parallel_compiler)]
|
||||
fn _dummy()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue