about summary refs log tree commit diff
path: root/src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-09-15 19:36:01 +0200
committerGitHub <noreply@github.com>2019-09-15 19:36:01 +0200
commit0592d137574189e500438aa300da64f0b1089a60 (patch)
tree51f58d0872e178fb0c9187b855fdfa75127475c3 /src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs
parent2e11e81f1e94c7883c7dde694e9ba6f7a562dd91 (diff)
parent1d33f06de80ce6b473460cdf87566d57f53a0b4e (diff)
downloadrust-0592d137574189e500438aa300da64f0b1089a60.tar.gz
rust-0592d137574189e500438aa300da64f0b1089a60.zip
Rollup merge of #64472 - Mark-Simulacrum:unused-parens-attr, r=varkor
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; I might personally prefer to see them for clarity.

Fixes https://github.com/rust-lang/rust/issues/43279.
Diffstat (limited to 'src/test/ui/iterators/iter-sum-overflow-overflow-checks.rs')
0 files changed, 0 insertions, 0 deletions