-
Notifications
You must be signed in to change notification settings - Fork 152
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
Execution of a test case in flatten.rs
at a particular compilation optimization level appears to be failed
#538
Comments
Looks like a rust test bug. The test is Can be reproduced on stable with |
This isn't a bug. The panic comes from clap here and only happens when debug assertions are enabled. When they aren't enabled, the code proceeds to the alternative error path which calls |
#542 fixes this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I find that when using
-C opt-level=0
as the compilation optimization level, all of the test cases can pass. However, if we use-C opt-level=1/2/3/s/z
, an error would be triggered.For example, using the command:
The output is as below:
The text was updated successfully, but these errors were encountered: