rust/compiler
Maybe Waffle 8b494f427c Allow impl Fn() -> impl Trait in return position
This allows writing the following function signatures:
```rust
fn f0() -> impl Fn() -> impl Trait;
fn f3() -> &'static dyn Fn() -> impl Trait;
```

These signatures were already allowed for common traits and associated
types, there is no reason why `Fn*` traits should be special in this
regard.
2022-10-25 13:25:51 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast
rustc_ast_lowering Allow impl Fn() -> impl Trait in return position 2022-10-25 13:25:51 +00:00
rustc_ast_passes Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_ast_pretty
rustc_attr Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_borrowck Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_builtin_macros Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
rustc_codegen_cranelift Rustfmt cg_clif's build system 2022-10-23 16:43:48 +02:00
rustc_codegen_gcc Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_codegen_llvm Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_codegen_ssa Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_const_eval Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_data_structures
rustc_driver Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_error_codes
rustc_error_messages Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_errors Auto merge of #103431 - Dylan-DPC:rollup-oozfo89, r=Dylan-DPC 2022-10-23 11:33:18 +00:00
rustc_expand Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_feature Rollup merge of #99939 - saethlin:pre-sort-tests, r=thomcc,jackh726 2022-10-24 19:32:25 +09:00
rustc_fs_util
rustc_graphviz
rustc_hir
rustc_hir_analysis Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_hir_pretty
rustc_hir_typeck Auto merge of #103431 - Dylan-DPC:rollup-oozfo89, r=Dylan-DPC 2022-10-23 11:33:18 +00:00
rustc_incremental
rustc_index
rustc_infer Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_interface Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_lexer
rustc_lint Rollup merge of #103402 - joshtriplett:niche-wrap-fix, r=oli-obk 2022-10-23 14:48:17 -07:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_metadata Auto merge of #103431 - Dylan-DPC:rollup-oozfo89, r=Dylan-DPC 2022-10-23 11:33:18 +00:00
rustc_middle Rollup merge of #103414 - compiler-errors:rpit-print-lt, r=cjgillot 2022-10-23 14:48:17 -07:00
rustc_mir_build Introduce InhabitedPredicate 2022-10-22 13:20:06 -05:00
rustc_mir_dataflow Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_mir_transform
rustc_monomorphize Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_parse Auto merge of #103431 - Dylan-DPC:rollup-oozfo89, r=Dylan-DPC 2022-10-23 11:33:18 +00:00
rustc_parse_format
rustc_passes Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_plugin_impl Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_privacy Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_query_impl
rustc_query_system Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_resolve Rollup merge of #103140 - chenyukang:yukang/fix-103112, r=estebank 2022-10-23 14:48:15 -07:00
rustc_save_analysis Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_serialize
rustc_session Introduce dedicated -Zdylib-lto flag for enabling LTO on dylibs 2022-10-23 13:48:03 +02:00
rustc_smir
rustc_span Auto merge of #102536 - scottmcm:lookup_line-tweak, r=jackh726 2022-10-24 07:24:45 +00:00
rustc_symbol_mangling Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_target
rustc_trait_selection Auto merge of #103345 - Nilstrieb:diag-flat, r=compiler-errors 2022-10-23 09:06:39 +00:00
rustc_traits
rustc_transmute
rustc_ty_utils Migrate all diagnostics 2022-10-23 10:09:44 +02:00
rustc_type_ir