mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
15 lines
180 B
Rust
15 lines
180 B
Rust
//@ aux-build:issue-107036.rs
|
|
//@ edition:2021
|
|
//@ check-pass
|
|
|
|
extern crate issue_107036;
|
|
use issue_107036::S;
|
|
|
|
async fn f() {
|
|
S{}.f().await;
|
|
}
|
|
|
|
fn main() {
|
|
let _ = f();
|
|
}
|