rust/compiler
Matthias Krüger 89798e9064
Rollup merge of #127987 - estebank:impl-trait-sugg, r=cjgillot
More accurate suggestion for `-> Box<dyn Trait>` or `-> impl Trait`

When encountering `-> Trait`, suggest `-> Box<dyn Trait>` (instead of `-> Box<Trait>`.

If there's a single returned type within the `fn`, suggest `-> impl Trait`.
2024-07-20 07:13:46 +02:00
..
rustc The rustc crate feature is called jemalloc 2024-07-15 13:01:20 -04:00
rustc_abi Rollup merge of #127769 - compiler-errors:ed-2024-dep, r=oli-obk 2024-07-17 16:22:31 +02:00
rustc_arena
rustc_ast Rollup merge of #127806 - nnethercote:parser-improvements, r=spastorino 2024-07-17 19:53:27 -05:00
rustc_ast_ir Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_ast_lowering Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
rustc_ast_passes Don't allow unsafe statics outside of extern blocks 2024-07-18 18:02:29 -04:00
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #127948 - surechen:fix_127915, r=compiler-errors 2024-07-20 07:13:44 +02:00
rustc_builtin_macros Use ForceCollect in parse_attr_item. 2024-07-19 08:24:54 +10:00
rustc_codegen_cranelift Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_codegen_gcc Format cg_gcc with same formatting parameters 2024-07-17 20:22:07 +02:00
rustc_codegen_llvm Rollup merge of #121533 - ratmice:wasm_init_fini_array, r=nnethercote 2024-07-19 03:27:46 -05:00
rustc_codegen_ssa Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_const_eval Rollup merge of #127856 - RalfJung:interpret-cast-sanity, r=oli-obk 2024-07-19 17:06:50 +02:00
rustc_data_structures Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_driver
rustc_driver_impl
rustc_error_codes Rollup merge of #127949 - princess-entrapta:master, r=tgross35 2024-07-19 20:03:56 +02:00
rustc_error_messages
rustc_errors Rollup merge of #120248 - WaffleLapkin:bonk-ptr-object-casts, r=compiler-errors,oli-obk,lnicola 2024-07-08 16:28:15 +02:00
rustc_expand Rollup merge of #127542 - c410-f3r:concat-again, r=petrochenkov 2024-07-17 19:53:25 -05:00
rustc_feature Rollup merge of #127630 - compiler-errors:type-ascription, r=chenyukang 2024-07-14 20:24:59 +02:00
rustc_fluent_macro Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_fs_util
rustc_graphviz
rustc_hir Clarify docs explaining purpose of ConstArg 2024-07-17 20:31:36 -07:00
rustc_hir_analysis Rollup merge of #127980 - nyurik:compiler-refs, r=oli-obk 2024-07-20 07:13:45 +02:00
rustc_hir_pretty Remove some unintended changes to imports 2024-07-17 20:31:37 -07:00
rustc_hir_typeck Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_incremental
rustc_index Fix feature gating on rustc_index to not use implicit features 2024-07-15 12:44:24 -04:00
rustc_index_macros
rustc_infer Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwU 2024-07-19 08:44:51 +00:00
rustc_interface Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_lexer
rustc_lint Auto merge of #127956 - tgross35:rollup-8ten7pk, r=tgross35 2024-07-19 11:08:02 +00:00
rustc_lint_defs make pub_use_of_private_extern_crate show up in future breakage reports 2024-07-18 13:43:56 +02:00
rustc_llvm Rollup merge of #124033 - bjorn3:ar_archive_writer_0_3_0, r=davidtwco 2024-07-16 16:15:13 -05:00
rustc_log
rustc_macros lift_to_tcx -> lift_to_interner 2024-07-17 10:46:10 -04:00
rustc_metadata report pat no field error no recoverd struct variant 2024-07-11 00:18:47 +08:00
rustc_middle Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_mir_build Rollup merge of #127556 - Zalathar:autoref, r=Nadrieril 2024-07-20 07:13:41 +02:00
rustc_mir_dataflow Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_mir_transform Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_monomorphize Auto merge of #113128 - WaffleLapkin:become_trully_unuwuable, r=oli-obk,RalfJung 2024-07-08 04:35:04 +00:00
rustc_next_trait_solver Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_parse Auto merge of #127957 - matthiaskrgr:rollup-1u5ivck, r=matthiaskrgr 2024-07-19 13:39:12 +00:00
rustc_parse_format
rustc_passes hir: Create hir::ConstArgKind enum 2024-07-16 19:27:28 -07:00
rustc_pattern_analysis Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_privacy
rustc_query_impl
rustc_query_system Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_resolve Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_sanitizers Rollup merge of #127980 - nyurik:compiler-refs, r=oli-obk 2024-07-20 07:13:45 +02:00
rustc_serialize
rustc_session Auto merge of #127670 - compiler-errors:no-type-length-limit, r=jackh726 2024-07-14 12:44:07 +00:00
rustc_smir Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
rustc_span Rollup merge of #127854 - fmease:glob-import-type_ir_inherent-lint, r=compiler-errors 2024-07-18 18:10:16 +02:00
rustc_symbol_mangling
rustc_target cleanup: remove support for 3DNow! cpu features 2024-07-17 11:45:02 -04:00
rustc_trait_selection Rollup merge of #127987 - estebank:impl-trait-sugg, r=cjgillot 2024-07-20 07:13:46 +02:00
rustc_traits Split out overflow handling into its own module 2024-07-09 09:51:56 -04:00
rustc_transmute Use dep: for crate dependencies 2024-07-15 12:40:10 -04:00
rustc_ty_utils Auto merge of #123351 - beetrees:x86-ret-snan-rust, r=nikic,workingjubilee 2024-07-12 20:36:43 +00:00
rustc_type_ir Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
rustc_type_ir_macros lift_to_tcx -> lift_to_interner 2024-07-17 10:46:10 -04:00
stable_mir Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00