about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-01-26 15:49:43 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-02-02 15:40:11 +0000
commit64c5b9a3d6f26659e0bd388fbb00cd92d888178d (patch)
tree4846134561dad6dd2bf42e0d06b3360b2a93ce7d /src/test/codegen/src-hash-algorithm
parentedaf9625fbc4fc3bb4f8eb049112840e68d79351 (diff)
downloadrust-64c5b9a3d6f26659e0bd388fbb00cd92d888178d.tar.gz
rust-64c5b9a3d6f26659e0bd388fbb00cd92d888178d.zip
Add backcompat hack to support
```rust
fn foo() -> impl MyTrait {
    panic!();
    MyStruct
}

struct MyStruct;
trait MyTrait {}

impl MyTrait for MyStruct {}
```
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions