Skip to content

Conversation

@dtolnay
Copy link
Owner

@dtolnay dtolnay commented Nov 21, 2024

Previously, it was possible for proc_macro2::TokenStream::from_str(...).unwrap_err().span() to return a Span::Fallback span despite being inside a proc macro. That span would then cause panic if passed to set_span on a Compiler token.

@dtolnay dtolnay merged commit 27c5494 into master Nov 21, 2024
26 checks passed
@dtolnay dtolnay deleted the compilerlex branch November 21, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants