diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-09-16 12:34:21 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-16 12:34:21 +0200 |
| commit | 3f9e7fc0497a08983078cbe987af79f131da6419 (patch) | |
| tree | d8a81a3a6ed44da399a38d35af845c53bebd6290 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 54d77285fcba0ab3d9d5ad8ff8a02bd6187bcf58 (diff) | |
| parent | 035f8791668406bc49fc315253835cbdec247549 (diff) | |
| download | rust-3f9e7fc0497a08983078cbe987af79f131da6419.tar.gz rust-3f9e7fc0497a08983078cbe987af79f131da6419.zip | |
Rollup merge of #76699 - lcnr:const-infer-err, r=varkor
improve const infer error cc #72328 reduces it from ``` error[E0282]: type annotations needed --> src/main.rs:17:5 | 17 | Foo.bar().bar().bar().bar().baz(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: unable to infer the value of a const parameter ``` to ``` error[E0282]: type annotations needed --> $DIR/method-chain.rs:21:33 | LL | Foo.bar().bar().bar().bar().baz(); | ^^^ | = note: cannot infer the value of the const parameter `N` ``` r? @varkor
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
