rust/compiler
Matthias Krüger 0cbef470d5
Rollup merge of #120315 - estebank:issue-102629-2, r=wesleywiser
On E0308 involving `dyn Trait`, mention trait objects

When encountering a type mismatch error involving `dyn Trait`, mention the existence of boxed trait objects if the other type involved implements `Trait`.

Fix #102629.
2024-01-25 08:39:44 +01:00
..
rustc Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_abi Fix rustc_abi build on stable 2024-01-16 21:15:31 +01:00
rustc_arena Fix Stable trait and its impls to work with the new with_tables 2024-01-19 09:42:51 +00:00
rustc_ast Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
rustc_ast_lowering Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
rustc_ast_passes add help message for exclusive_range_pattern error 2024-01-19 13:38:24 -05:00
rustc_ast_pretty Add PatKind::Err 2024-01-17 03:14:16 +01:00
rustc_attr Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
rustc_baked_icu_data Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_borrowck Auto merge of #116152 - cjgillot:unchunck, r=nnethercote 2024-01-23 11:56:30 +00:00
rustc_builtin_macros Rollup merge of #120183 - Zalathar:test-closure, r=compiler-errors 2024-01-23 21:53:58 +01:00
rustc_codegen_cranelift Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obk 2024-01-25 05:16:53 +00:00
rustc_codegen_gcc Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obk 2024-01-25 05:16:53 +00:00
rustc_codegen_llvm Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obk 2024-01-25 05:16:53 +00:00
rustc_codegen_ssa Rollup merge of #120139 - compiler-errors:fnonce-shim, r=BoxyUwU 2024-01-23 21:53:56 +01:00
rustc_const_eval Auto merge of #119911 - NCGThompson:is-statically-known, r=oli-obk 2024-01-25 05:16:53 +00:00
rustc_data_structures Auto merge of #120080 - cuviper:128-align-packed, r=nikic 2024-01-22 13:08:19 +00:00
rustc_driver Bump cfg(bootstrap)s 2023-11-15 19:41:28 -05:00
rustc_driver_impl Replace TrimmedDefPaths with a bool. 2024-01-15 09:16:14 +11:00
rustc_error_codes Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
rustc_error_messages Remove rustc_error_messages/messages.ftl. 2023-11-26 08:37:27 +11:00
rustc_errors add list of characters to uncommon codepoints lint 2024-01-23 10:56:33 +08:00
rustc_expand Pack the u128 in LitKind::Int 2024-01-19 20:10:39 -08:00
rustc_feature Revert "Auto merge of #118133 - Urgau:stabilize_trait_upcasting, r=WaffleLapkin" 2024-01-22 14:24:31 +00:00
rustc_fluent_macro annotate-snippets: update to 0.10 2024-01-07 16:53:32 +03:00
rustc_fs_util Clean up rustc_*/Cargo.toml. 2023-10-30 08:46:02 +11:00
rustc_graphviz remove unused pub fn 2023-11-23 14:11:02 +03:00
rustc_hir Rollup merge of #119305 - compiler-errors:async-fn-traits, r=oli-obk 2024-01-25 08:39:41 +01:00
rustc_hir_analysis Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasper 2024-01-25 08:39:42 +01:00
rustc_hir_pretty Add PatKind::Err 2024-01-17 03:14:16 +01:00
rustc_hir_typeck Rollup merge of #119305 - compiler-errors:async-fn-traits, r=oli-obk 2024-01-25 08:39:41 +01:00
rustc_incremental Tweak error counting. 2024-01-22 10:14:01 +11:00
rustc_index Remove uses of HybridBitSet. 2024-01-22 22:53:20 +00:00
rustc_index_macros Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
rustc_infer Account for expected dyn Trait found impl Trait 2024-01-24 16:57:15 +00:00
rustc_interface Rollup merge of #120159 - jyn514:track-verbose, r=wesleywiser 2024-01-22 22:12:09 +01:00
rustc_lexer Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=WaffleLapkin 2024-01-22 16:54:56 +01:00
rustc_lint tidy 2024-01-23 21:17:06 +08:00
rustc_lint_defs Rollup merge of #119948 - asquared31415:unsafe_op_in_unsafe_fn_fix, r=TaKO8Ki 2024-01-22 16:13:28 +01:00
rustc_llvm Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
rustc_log rustc_log: provide a way to init logging based on the values, not names, of the env vars 2023-11-11 15:24:33 +01:00
rustc_macros Correctly explain ensure_forwards_result_if_red 2024-01-24 11:04:13 +00:00
rustc_metadata Remove track_errors entirely 2024-01-23 15:23:22 +00:00
rustc_middle Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasper 2024-01-25 08:39:42 +01:00
rustc_mir_build Rollup merge of #120171 - cjgillot:jump-threading-assume-assert, r=tmiasko 2024-01-23 21:53:57 +01:00
rustc_mir_dataflow Use a plain bitset for liveness analyses. 2024-01-22 23:18:45 +00:00
rustc_mir_transform Rollup merge of #120292 - Zalathar:dismantle, r=oli-obk 2024-01-25 08:39:43 +01:00
rustc_monomorphize Rollup merge of #119895 - oli-obk:track_errors_3, r=matthewjasper 2024-01-25 08:39:42 +01:00
rustc_next_trait_solver Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
rustc_parse Rollup merge of #120063 - clubby789:remove-box-handling, r=Nilstrieb 2024-01-20 20:06:34 +01:00
rustc_parse_format Rollup merge of #118639 - fmease:deny-features-in-stable-rustc-crates, r=WaffleLapkin 2024-01-22 16:54:56 +01:00
rustc_passes Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00
rustc_pattern_analysis Rename TyCtxt::emit_spanned_lint as TyCtxt::emit_node_span_lint. 2024-01-23 08:09:05 +11:00
rustc_privacy privacy: Refactor top-level visiting in TypePrivacyVisitor 2024-01-24 00:42:01 +03:00
rustc_query_impl Update measureme crate to version 11 2024-01-13 16:32:03 +01:00
rustc_query_system Tweak error counting. 2024-01-22 10:14:01 +11:00
rustc_resolve Rollup merge of #119369 - bvanjoi:fix-119301, r=petrochenkov 2024-01-22 16:13:25 +01:00
rustc_serialize Rollup merge of #117561 - tgross35:split-array, r=scottmcm 2024-01-19 19:26:59 +01:00
rustc_session Rollup merge of #120230 - Urgau:for_scope-single-scope, r=michaelwoerister 2024-01-25 08:39:42 +01:00
rustc_smir Do not normalize closure signature when building FnOnce shim 2024-01-22 16:50:30 +00:00
rustc_span Rollup merge of #119305 - compiler-errors:async-fn-traits, r=oli-obk 2024-01-25 08:39:41 +01:00
rustc_symbol_mangling Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
rustc_target Rollup merge of #120278 - djkoloski:remove_fatal_warnings_wasm, r=oli-obk 2024-01-25 08:39:43 +01:00
rustc_trait_selection Rollup merge of #119389 - estebank:issue-116925, r=TaKO8Ki 2024-01-25 08:39:41 +01:00
rustc_traits Correctly handle normalization in implied bounds 2024-01-17 21:27:34 -05:00
rustc_transmute Fix an ICE that occurs after an error has already been reported 2024-01-09 16:09:30 +00:00
rustc_ty_utils Rollup merge of #120139 - compiler-errors:fnonce-shim, r=BoxyUwU 2024-01-23 21:53:56 +01:00
rustc_type_ir Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
stable_mir Make the remaining "private" fields actually private 2024-01-19 16:37:50 +00:00