You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, it looks like proc_macro2::Span::unwrap is the only way to get a proc_macro::Span, but that will panic if it's called outside a proc macro. Could there be a TryFrom/TryInto impl, or a method that returns Option<proc_macro::Span>?
The text was updated successfully, but these errors were encountered:
Right now, it looks like
proc_macro2::Span::unwrap
is the only way to get aproc_macro::Span
, but that will panic if it's called outside a proc macro. Could there be aTryFrom
/TryInto
impl, or a method that returnsOption<proc_macro::Span>
?The text was updated successfully, but these errors were encountered: