]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #82720 - henryboisdequin:fix-79040, r=oli-obk
authorYuki Okushi <huyuumi.dev@gmail.com>
Sun, 7 Mar 2021 01:41:15 +0000 (10:41 +0900)
committerGitHub <noreply@github.com>
Sun, 7 Mar 2021 01:41:15 +0000 (10:41 +0900)
commita5a825e6a33456836a18576aada23d52f757078f
tree9850f053968d1599cd348480805c60e2e2047519
parentf3218dfa57105c66fd964c6df3942c36e475b39c
parent7d3a6f16551fa9ff54fbfa9c648c21ae0f6d550f
Rollup merge of #82720 - henryboisdequin:fix-79040, r=oli-obk

Fix diagnostic suggests adding type `[type error]`

Fixes #79040

### Unresolved questions:

<del>Why does this change output the diagnostic twice (`src/test/ui/79040.rs`)?</del> Thanks `````@oli-obk`````
compiler/rustc_typeck/src/collect/type_of.rs