about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-02-12 20:36:53 +0100
committerGitHub <noreply@github.com>2020-02-12 20:36:53 +0100
commit2a3c1a30c84d66ad9bde8aef7727dfd6b60c40c9 (patch)
treece940a78c5bacb1bb1f7aa31e286e023297940c7 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parentf127aba96d1f0610f854e54a3386023c2331b1f3 (diff)
parent9d91489526121ef3408e1efa2a98bcaefdedd9bc (diff)
downloadrust-2a3c1a30c84d66ad9bde8aef7727dfd6b60c40c9.tar.gz
rust-2a3c1a30c84d66ad9bde8aef7727dfd6b60c40c9.zip
Rollup merge of #68981 - estebank:silence, r=davidtwco
 Account for type params on method without parentheses

Account for those type parameters in the structured suggestion when forgetting to call method:

```
error[E0615]: attempted to take value of method `collect` on type `std::vec::IntoIter<_>`
  --> $DIR/method-missing-parentheses.rs:2:32
   |
LL |     let _ = vec![].into_iter().collect::<usize>;
   |                                ^^^^^^^---------
   |                                |
   |                                help: use parentheses to call the method: `collect::<usize>()`
```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions