blob: d40c9548a3a8e9cd8c48bd7240377cddef940a27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
//@ check-pass
//@ edition: 2021
// issue: rust-lang/rust#123697
struct S { t: i32 }
fn test(s: &S, t: &i32) {
async || {
println!("{}", s.t);
println!("{}", t);
};
}
fn main() {}
|