Add additional tests and update existing tests

This commit is contained in:
Eric Holk 2023-12-12 17:33:51 -08:00
parent 97df0d3657
commit 397f4a15bb
No known key found for this signature in database
GPG key ID: 8EA6B43ED4CE0911
7 changed files with 111 additions and 2 deletions

View file

@ -11,4 +11,13 @@ fn f() {
};
}
#[cfg(FALSE)]
fn g() {
let _ = async {
for await _i in core::async_iter::from_iter(0..3) {
//~^ ERROR `for await` loops are experimental
}
};
}
fn main() {}