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
..
rustc
rustc_apfloat
rustc_arena
rustc_ast Auto merge of #83386 - mark-i-m:stabilize-pat2015, r=nikomatsakis 2021-04-28 20:35:17 +00:00
rustc_ast_lowering improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
rustc_ast_passes Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00
rustc_ast_pretty parser: Remove support for inner attributes on non-block expressions 2021-05-03 13:33:53 +03:00
rustc_attr
rustc_builtin_macros Disallows #![feature(no_coverage)] on stable and beta 2021-05-05 07:52:26 -07:00
rustc_codegen_cranelift Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00
rustc_codegen_llvm Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
rustc_codegen_ssa Adjust target search algorithm for rustlib path 2021-05-10 19:15:19 +03:00
rustc_data_structures Only compute Obligation cache_key once in register_obligation_at 2021-05-04 11:57:53 -07:00
rustc_driver Rollup merge of #83895 - eggyal:issue-83883, r=jyn514 2021-04-06 17:42:31 +02:00
rustc_error_codes Auto merge of #83213 - rylev:update-lints-to-errors, r=nikomatsakis 2021-05-04 08:09:23 +00:00
rustc_errors Rollup merge of #85050 - FabianWolff:issue-84592, r=jackh726 2021-05-10 16:15:00 +02:00
rustc_expand Rollup merge of #84442 - jyn514:doc-cfg, r=petrochenkov 2021-05-07 16:19:19 +02:00
rustc_feature remove const_fn feature gate 2021-05-09 14:29:31 +02:00
rustc_fs_util
rustc_graphviz
rustc_hir Add type to differentiate between fake and real DefId's 2021-05-04 19:34:12 +02:00
rustc_hir_pretty Handle pretty printing of else if let clauses 2021-04-23 13:29:18 -04:00
rustc_incremental Add [TRACKED_NO_CRATE_HASH] and [SUBSTRUCT] directives 2021-04-27 16:46:33 +00:00
rustc_index Change bitwise operator to more easily keep data in vector registers 2021-05-04 11:55:18 -04:00
rustc_infer remove unused variant 2021-05-06 14:59:53 +02:00
rustc_interface Adjust target search algorithm for rustlib path 2021-05-10 19:15:19 +03:00
rustc_lexer Fix outdated crate names in compiler docs 2021-04-08 11:12:14 -05:00
rustc_lint Rollup merge of #85075 - ptrojahn:panic_warning, r=jackh726 2021-05-10 16:15:01 +02:00
rustc_lint_defs Auto merge of #83213 - rylev:update-lints-to-errors, r=nikomatsakis 2021-05-04 08:09:23 +00:00
rustc_llvm Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
rustc_macros
rustc_metadata Implement RFC 2951: Native link modifiers 2021-05-05 16:04:25 -07:00
rustc_middle Rollup merge of #85187 - FabianWolff:issue-84976, r=jackh726 2021-05-12 07:18:04 +09:00
rustc_mir Auto merge of #85100 - HKalbasi:issue-68049-fix, r=Aaron1011 2021-05-11 07:44:16 +00:00
rustc_mir_build Auto merge of #84310 - RalfJung:const-fn-feature-flags, r=oli-obk 2021-04-24 23:16:03 +00:00
rustc_parse Auto merge of #85104 - hi-rustin:rustin-patch-typo, r=jonas-schievink 2021-05-10 07:15:23 +00:00
rustc_parse_format
rustc_passes Rollup merge of #85018 - hi-rustin:rustin-patch-84637, r=estebank 2021-05-12 07:18:00 +09:00
rustc_plugin_impl
rustc_privacy fix few typos 2021-04-19 15:57:08 +03:00
rustc_query_impl Apply --cfg parallel_compiler when documenting 2021-05-01 00:25:11 -04:00
rustc_query_system Show nicer error when an 'unstable fingerprints' error occurs 2021-05-10 17:43:51 -04:00
rustc_resolve improve diagnosts for GATs 2021-05-11 14:09:46 +02:00
rustc_save_analysis
rustc_serialize
rustc_session Fix typo in variable name 2021-05-11 01:17:08 +02:00
rustc_span Rollup merge of #85044 - ChrisDenton:file-exists, r=jackh726 2021-05-08 01:06:26 +02:00
rustc_symbol_mangling
rustc_target Adjust target search algorithm for rustlib path 2021-05-10 19:15:19 +03:00
rustc_trait_selection Rollup merge of #84987 - lcnr:nits, r=Mark-Simulacrum 2021-05-07 00:38:45 +02:00
rustc_traits
rustc_ty_utils Implement changes suggested by tmiasko and davidtwco 2021-05-10 17:47:50 +02:00
rustc_type_ir Make TypeFoldable::is_global() false when fresh tys/consts are present 2021-05-01 16:58:33 -04:00
rustc_typeck Rollup merge of #85018 - hi-rustin:rustin-patch-84637, r=estebank 2021-05-12 07:18:00 +09:00