rust/compiler/rustc_typeck
Yuki Okushi a5a825e6a3
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`````
2021-03-07 10:41:15 +09:00
..
2021-02-14 18:03:11 +03:00

For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc dev guide.