-
Notifications
You must be signed in to change notification settings - Fork 13k
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
thread 'main' panicked at 'internal error: entered unreachable code', src/tools/tidy/src/pal.rs:224:9 #60505
Comments
Looking at rust/src/tools/tidy/src/pal.rs Lines 206 to 225 in 08bfe16
means, that
(or similar) If that wording is okay, I would go and file a PR |
Rather than panicking, it would be better to throw an error (e.g. using |
Note that there are other cases where there is an error message like:
It seems like we should get the same here too. Edit: Come to think of it, this one might be coming from the compiler. |
We could just ignore |
…ens, r=varkor Do not panic in tidy on unbalanced parentheses in cfg's Fixes rust-lang#60505
…ens, r=varkor Do not panic in tidy on unbalanced parentheses in cfg's Fixes rust-lang#60505
…ens, r=varkor Do not panic in tidy on unbalanced parentheses in cfg's Fixes rust-lang#60505
Adding some
#[cfg()]
with unbalanced parens in some file in the rust directory makespython x.py build
fail with the following error and backtrace:Which is rather unhelpful.
The text was updated successfully, but these errors were encountered: