Skip to content

Commit

Permalink
Add string-based CallSite variant to wrapper enums
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Dec 27, 2021
1 parent 58d5565 commit 6f4fde6
Show file tree
Hide file tree
Showing 2 changed files with 331 additions and 52 deletions.
2 changes: 1 addition & 1 deletion src/fallback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ impl Drop for TokenStream {
#[cfg(wrap_proc_macro)]
let group = match group {
crate::imp::Group::Fallback(group) => group,
crate::imp::Group::Compiler(_) => continue,
crate::imp::Group::Compiler(_) | crate::imp::Group::CallSite(..) => continue,
};
let mut group = group;
self.inner.extend(group.stream.take_inner());
Expand Down
Loading

0 comments on commit 6f4fde6

Please sign in to comment.