rust/compiler/rustc_middle
Oli Scherer 64c5b9a3d6 Add backcompat hack to support
```rust
fn foo() -> impl MyTrait {
    panic!();
    MyStruct
}

struct MyStruct;
trait MyTrait {}

impl MyTrait for MyStruct {}
```
2022-02-02 15:40:11 +00:00
..
2022-02-02 15:40:11 +00:00
2022-01-19 13:44:43 -06:00

For more information about how rustc works, see the rustc dev guide.