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>2022-12-02 05:49:26 +0000
committerbors <bors@rust-lang.org>2022-12-02 05:49:26 +0000
commit56d5657880d490a07f85c83a96187cad72e6b31a (patch)
tree7dd4bf380be5e34a2c0ec25bb5420bedce89ee92 /library/std/src/sys/unix/stack_overflow.rs
parentb43c9f76385d379d3f8576473cd7573d06809bfb (diff)
parent7a0f0c0e8b79d0dd95e0c97660e327e51fa09c0f (diff)
downloadrust-56d5657880d490a07f85c83a96187cad72e6b31a.tar.gz
rust-56d5657880d490a07f85c83a96187cad72e6b31a.zip
Auto merge of #9962 - mdgaziur:master, r=dswij
Fix #9958

This PR fixes #9958. In order to fix the issue, the lint will now peel reference operators and enclose the expression with parentheses when necessary.

changelog: [`comparison_to_empty`]: Peel deref operators in suggestions when necessary
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions