mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
These tests specifically test 2015 edition behavior, so ensure that they can only be run with this edition
7 lines
126 B
Rust
7 lines
126 B
Rust
//@ edition: 2015
|
|
|
|
fn main() {
|
|
async move {};
|
|
//~^ ERROR `async move` blocks are only allowed in Rust 2018 or later
|
|
}
|