about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-04-10 19:15:37 +0000
committerbors <bors@rust-lang.org>2021-04-10 19:15:37 +0000
commitfd5cf4e82d3422887585fd148369b592f95cd169 (patch)
treedacd684c99431f4c1fd03961a4ffdb98c5df0a62 /library/std/src/sys/unix/stack_overflow.rs
parentf7c2c44e76c626afcd594ecc193ed446729152db (diff)
parent271c163ba319ce8518913057cef32978f38b2f6a (diff)
downloadrust-fd5cf4e82d3422887585fd148369b592f95cd169.tar.gz
rust-fd5cf4e82d3422887585fd148369b592f95cd169.zip
Auto merge of #7060 - daxpedda:debug-assert-panic-in-result-fn, r=flip1995
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: https://github.com/rust-lang/rust-clippy/issues/6082

r? `@flip1995`

changelog: Change `panic_in_result_fn` to ignore `debug_assert` and co macros
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions