-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
std: promote debug_assert to assert #98696
std: promote debug_assert to assert #98696
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @RalfJung (or someone else) soon. Please see the contribution instructions for more information. |
This needs a libs-team reviewer who is familiar with these APIs, sorry. I was just the guy who pointed out the problem. :) r? runst-lang/libs |
r? rust-lang/libs |
61f3557
to
c620d31
Compare
7725a86
to
43b5ce0
Compare
43b5ce0
to
ac5395c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it worth making a macro so that the assertion messages don't have to repeat the function name?
f7f9943
to
50da48b
Compare
Signed-off-by: Vincenzo Palazzo <[email protected]>
50da48b
to
f8dabd6
Compare
Signed-off-by: Vincenzo Palazzo <[email protected]>
ea5e25c
to
649aad9
Compare
This is a monkey solution! I will clean up and reopen a new one. |
This is a continuation of work started in #94712 based on the issue #94705
I cleanup all the debug_assert in the std, most of them was related to the UNIX crate
r? @RalfJung
Signed-off-by: Vincenzo Palazzo [email protected]