rust/compiler
Yuki Okushi c4c654f422
Rollup merge of #85187 - FabianWolff:issue-84976, r=jackh726
Use .name_str() to format primitive types in error messages

This pull request fixes #84976. The problem described there is caused by this code
506e75cbf8/compiler/rustc_middle/src/ty/error.rs (L161-L166)
using `Debug` formatting (`{:?}`), while the proper solution is to call `name_str()` of `ty::IntTy`, `ty::UintTy` and `ty::FloatTy`, respectively.
2021-05-12 07:18:04 +09:00
..
2021-05-06 14:59:53 +02:00
2021-05-08 10:58:08 +02:00
2021-04-19 15:57:08 +03:00
2021-05-11 14:09:46 +02:00
2021-05-11 01:17:08 +02:00