Skip to content
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

Include line number in compiler/fallback mismatch panic #433

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Jan 3, 2024

This is helpful for debugging in proc-macro code, where RUST_BACKTRACE=1 does not take effect.

error: proc macro panicked
 --> src/main.rs:4:1
  |
4 | repro!();
  | ^^^^^^^^
  |
  = help: message: compiler/fallback mismatch #854

@dtolnay dtolnay merged commit 3eb1857 into master Jan 3, 2024
14 checks passed
@dtolnay dtolnay deleted the mismatch branch January 3, 2024 22:22
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.

None yet

1 participant