rust/compiler
bors e745b4ddbd Auto merge of #95767 - oli-obk:all_your_generics_belong_to_the_definitions, r=compiler-errors
Report opaque type mismatches directly during borrowck of the function instead of within the `type_of` query.

This allows us to only store a single hidden type per opaque type instead of having to store one per set of substitutions.

r? `@compiler-errors`

This does not affect diagnostics, because the diagnostic messages are exactly the same.
2022-04-07 19:37:43 +00:00
..
rustc Propagate parallel_compiler feature through rustc crates. Turned off feature gives change of builded crates: 238 -> 224. 2022-03-28 08:41:12 +03:00
rustc_apfloat Addressed comments by @compiler-errors and @bjorn3 2022-03-30 17:04:46 -04:00
rustc_arena mark FIXMES for all the places found that are probably offset_from 2022-03-29 20:18:28 -04:00
rustc_ast Shrink Nonterminal. 2022-04-07 12:51:50 +10:00
rustc_ast_lowering diagnostics: use correct span for const generics 2022-04-04 12:16:20 -07:00
rustc_ast_passes Stabilize native library modifier syntax and the whole-archive modifier specifically 2022-03-30 23:53:21 +03:00
rustc_ast_pretty Remove Nonterminal::NtTT. 2022-03-28 10:03:02 +11:00
rustc_attr Rollup merge of #94948 - jhpratt:rustc_deprecated, r=Dylan-DPC 2022-03-20 09:14:59 +01:00
rustc_borrowck Deduplicate the error printing code for hidden type mismatches 2022-04-07 13:52:59 +00:00
rustc_builtin_macros Stop flagging certain inner attrs as outer ones 2022-04-06 19:54:05 +02:00
rustc_codegen_cranelift Mark scalar layout unions so that backends that do not support partially initialized scalars can special case them. 2022-04-05 13:18:21 +00:00
rustc_codegen_gcc Use WrappingRange::full instead of hand-rolling it 2022-04-05 13:18:22 +00:00
rustc_codegen_llvm Use WrappingRange::full instead of hand-rolling it 2022-04-05 13:18:22 +00:00
rustc_codegen_ssa Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardin 2022-04-05 16:46:13 +00:00
rustc_const_eval Auto merge of #95707 - RalfJung:initialized, r=oli-obk 2022-04-06 14:07:27 +00:00
rustc_data_structures Auto merge of #92686 - saethlin:unsafe-debug-asserts, r=Amanieu 2022-04-03 16:04:47 +00:00
rustc_driver session: opt for enabling directionality markers 2022-04-05 07:01:03 +01:00
rustc_error_codes rework error messages for incorrect inherent impls 2022-03-30 11:23:58 +02:00
rustc_error_messages errors: support fluent + parallel compiler 2022-04-05 07:01:03 +01:00
rustc_errors session: opt for enabling directionality markers 2022-04-05 07:01:03 +01:00
rustc_expand Auto merge of #95715 - nnethercote:shrink-Nonterminal, r=davidtwco 2022-04-07 12:52:32 +00:00
rustc_feature Rollup merge of #94869 - jackh726:gats_extended, r=compiler-errors 2022-03-31 00:26:29 +02:00
rustc_fs_util
rustc_graphviz eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_hir span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_hir_pretty resolve: Fix incorrect results of opt_def_kind query for some built-in macros 2022-02-24 22:54:36 +03:00
rustc_incremental Spellchecking some comments 2022-03-30 01:39:38 -04:00
rustc_index Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_infer errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
rustc_interface span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_lexer Reduce max hash in raw strings from u16 to u8 2022-03-23 22:13:55 +01:00
rustc_lint Auto merge of #94527 - oli-obk:undef_scalars, r=nagisa,erikdesjardin 2022-04-05 16:46:13 +00:00
rustc_lint_defs span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_llvm trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
rustc_log Make rustc_log doc test runnable 2022-01-03 22:31:56 -08:00
rustc_macros macros: support translatable suggestions 2022-04-05 07:01:03 +01:00
rustc_metadata rustdoc: Early doc link resolution fixes and refactorings 2022-04-07 00:19:48 +03:00
rustc_middle Deduplicate the error printing code for hidden type mismatches 2022-04-07 13:52:59 +00:00
rustc_mir_build span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_mir_dataflow Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_mir_transform Rollup merge of #95649 - ouz-a:mir-opt, r=oli-obk 2022-04-06 23:06:06 +02:00
rustc_monomorphize Rollup merge of #95478 - InfRandomness:infrandomness/lint_largemove_note, r=compiler-errors 2022-03-31 13:09:53 +02:00
rustc_parse Auto merge of #95715 - nnethercote:shrink-Nonterminal, r=davidtwco 2022-04-07 12:52:32 +00:00
rustc_parse_format Spellchecking compiler comments 2022-03-30 15:14:15 -04:00
rustc_passes span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_plugin_impl replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00
rustc_privacy Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors 2022-03-31 04:57:28 +02:00
rustc_query_impl rework implementation for inherent impls for builtin types 2022-03-30 11:23:58 +02:00
rustc_query_system errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
rustc_resolve rustdoc: Early doc link resolution fixes and refactorings 2022-04-07 00:19:48 +03:00
rustc_save_analysis Rollup merge of #95497 - nyurik:compiler-spell-comments, r=compiler-errors 2022-03-31 04:57:28 +02:00
rustc_serialize errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
rustc_session session: opt for enabling directionality markers 2022-04-05 07:01:03 +01:00
rustc_span span: move MultiSpan 2022-04-05 07:01:00 +01:00
rustc_symbol_mangling resolve the conflict in compiler/rustc_session/src/parse.rs 2022-03-16 20:12:30 +08:00
rustc_target trivial cfg(bootstrap) changes 2022-04-05 23:18:40 +02:00
rustc_trait_selection Auto merge of #95678 - pietroalbini:pa-1.62.0-bootstrap, r=Mark-Simulacrum 2022-04-07 07:34:04 +00:00
rustc_traits Remove opaque type obligation and just register opaque types as they are encountered. 2022-03-28 16:57:45 +00:00
rustc_ty_utils Auto merge of #94883 - cjgillot:flat-metadata, r=oli-obk 2022-04-01 21:16:41 +00:00
rustc_type_ir Revert "Auto merge of #93893 - oli-obk:sad_revert, r=oli-obk" 2022-03-28 16:27:14 +00:00
rustc_typeck Deduplicate the error printing code for hidden type mismatches 2022-04-07 13:52:59 +00:00