mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 10:19:00 +00:00
15 lines
207 B
Rust
15 lines
207 B
Rust
//@ 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() {}
|