about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-14 18:41:46 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-14 18:43:48 -0400
commit1d33f06de80ce6b473460cdf87566d57f53a0b4e (patch)
tree9043d6a61fa9cfe09a8fd124be3d6fdc00d0ba0f /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parentca3766e2e58f462a20922e42c821a37eaf0e13db (diff)
downloadrust-1d33f06de80ce6b473460cdf87566d57f53a0b4e.tar.gz
rust-1d33f06de80ce6b473460cdf87566d57f53a0b4e.zip
Don't mark expression with attributes as not needing parentheses
This is not perfectly correct as `#[attr] (5)` will still not lint, but
it does seem good enough, in particular as the parentheses in that case
are not unambiguously incorrect.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions