Sign in
chromium
/
external
/
github.com
/
rust-lang
/
rust
/
d91e86e963128ebd9e0baee42d1504670dab1565
/
.
/
tests
/
ui
/
consts
/
const-suggest-feature.rs
blob: dbb166dd6c5d2f8f7d73f7e29086344f4f732000 [
file
] [
log
] [
blame
]
//@ edition: 2018
use
std
::
cell
::
Cell
;
const
WRITE
:
()
=
unsafe
{
let
x
=
async
{
13
};
//~^ ERROR `async` blocks
//~| HELP add `#![feature(const_async_blocks)]` to the crate attributes to enable
};
fn
main
()
{}