blob: 4522a627053105891a85bb9986f62079e6f0af98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
//@ compile-flags: -Wrust-2021-incompatible-closure-captures
pub struct A {}
impl A {
async fn create(path: impl AsRef<std::path::Path>) {
;
crate(move || {} ).await
}
}
trait C{async fn new(val: T) {} //~ ERROR this file contains an unclosed delimiter
|