rust/compiler/rustc_ast_lowering/src
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
..
asm.rs Stabilize asm_sym 2022-10-17 22:38:37 +01:00
block.rs Rollup merge of #93628 - est31:stabilize_let_else, r=joshtriplett 2022-09-17 15:31:06 +05:30
errors.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
expr.rs Lower condition directly from AST to HIR 2022-10-13 18:20:39 -07:00
index.rs separate definitions and HIR owners 2022-09-24 23:21:19 +09:00
item.rs Auto merge of #99292 - Aaron1011:stability-use-tree, r=cjgillot 2022-10-15 04:27:15 +00:00
lib.rs Do anonymous lifetimes remapping correctly for nested rpits 2022-10-19 16:49:39 -03:00
lifetime_collector.rs Remove path_span argument to the visit_path_segment methods. 2022-09-12 13:24:25 +10:00
pat.rs rustc_hir: Less error-prone methods for accessing PartialRes resolution 2022-10-11 09:04:52 +04:00
path.rs Allow impl Fn() -> impl Trait in return position 2022-10-25 13:25:51 +00:00