-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler gives internal error during macro expansion. #68605
Comments
@rustbot claim |
Full trace:
|
@MichaelBurge there's a single |
@estebank Are you sure that's correct? I was looking at the invalid It seems like it should always be an error to record a |
That is a correct assessment, but the current state is that whenever we involve macros we can easily generate incorrect |
A compiler built from that pull request no longer exhibits an ICE on this example. |
Thanks for fixing it! |
Steps to replicate:
a.rs
andb.rs
in the same directory with the following content:I note that the
(Macros("::a::all_trigger_fields"), BytePos(6695205))
looks quite suspicious, since there are fewer than 6695205 bytes in the source text.This issue has been assigned to @MichaelBurge via this comment.
The text was updated successfully, but these errors were encountered: