Skip to content

Commit c8f1663

Browse files
committed
Add test case for rust-lang#74256
1 parent 98c8619 commit c8f1663

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// edition:2018
2+
3+
struct Struct { }
4+
5+
impl Struct {
6+
async fn async_fn(self: &Struct, f: &u32) -> &u32 {
7+
f
8+
}
9+
10+
fn sync_fn(self: &Struct, f: &u32) -> &u32 {
11+
f
12+
}
13+
}
14+
15+
fn main() {}

0 commit comments

Comments
 (0)