-
Notifications
You must be signed in to change notification settings - Fork 898
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
ICE: unreachable src/tools/rustfmt/src/expr.rs:407:13
#5885
Comments
I think this issue is related to https://github.com/rust-lang/rust/pull/106934/files I think we need to handle the branch around Lines 401 to 406 in 16db2a4
|
@eval-exec thanks for offering to help. You can assign yourself to this issue by commenting A little bit about what's going on here; It's technically true that the It's at this point where the rustc parser produces a @matthiaskrgr I'm too familiar with the It seems the issue doesn't occur if you don't use fn main() {
println!("{}", offset_of!(A, 0. 1.1.1));
} |
It seems that the |
@eval-exec thanks for the info! |
@rustbot claim |
I think we need to treat |
Here's the tracking issue for
Given that this syntax is experimental it might be simpler to just return |
I've not looked too closely but based on the description I'd concur that the new I've no objections to doing something quick to avoid the panic, although given some of the idempotence bugs that can easily be triggered in macro contexts I'd like to be able to handle it more directly sooner rather than later |
rustfmt 1.6.0-nightly (1b198b3 2023-08-13)
The text was updated successfully, but these errors were encountered: