-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Remove debug_assert
from panic_in_result_fn
#7060
Remove debug_assert
from panic_in_result_fn
#7060
Conversation
|
That's fine, I just realized I ran the wrong tests locally, I'm currently attending the rust gamedev meeting but will fix it when I'm done. |
I don't know if this is an appropriate solution.
@flip1995 what do you think about that? If this is alright I could just remove |
Since this is a restriction lint, I would leave |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
…p1995 Remove `debug_assert` from `panic_in_result_fn` I couldn't find any documentation on `debug_assert` that should be remove. In my humble opinion, I would also like to argue that `todo` and `unreachable` shouldn't trigger this lint? Related: #6082 r? `@flip1995` changelog: Change `panic_in_result_fn` to ignore `debug_assert` and co macros
This comment has been minimized.
This comment has been minimized.
…p1995 Remove `debug_assert` from `panic_in_result_fn` I couldn't find any documentation on `debug_assert` that should be remove. In my humble opinion, I would also like to argue that `todo` and `unreachable` shouldn't trigger this lint? Related: #6082 r? `@flip1995` changelog: Change `panic_in_result_fn` to ignore `debug_assert` and co macros
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@bors retry |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
I couldn't find any documentation on
debug_assert
that should be remove.In my humble opinion, I would also like to argue that
todo
andunreachable
shouldn't trigger this lint?Related: #6082
r? @flip1995
changelog: Change
panic_in_result_fn
to ignoredebug_assert
and co macros