2025-04-08 15:17:08 +02:00
|
|
|
//@ edition: 2018
|
2024-08-17 14:19:34 +02:00
|
|
|
use std::cell::Cell;
|
|
|
|
|
|
2020-05-04 23:33:10 +02:00
|
|
|
const WRITE: () = unsafe {
|
2024-08-26 14:51:16 +02:00
|
|
|
let x = async { 13 };
|
|
|
|
|
//~^ ERROR `async` blocks
|
|
|
|
|
//~| HELP add `#![feature(const_async_blocks)]` to the crate attributes to enable
|
2020-05-04 23:33:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fn main() {}
|