Files
rust/compiler/rustc_middle
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
https://github.com/rust-lang/rust/blob/506e75cbf8cb5305e49a41326307004ca3976029/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
..
2020-08-30 18:45:07 +03:00
2021-03-10 17:53:35 -08:00
2020-08-30 18:45:07 +03:00

For more information about how rustc works, see the rustc dev guide.