Sign in
rust
/
rust
/
refs/heads/perf-tmp
/
.
/
tests
/
ui
/
parser
/
const-block-items
/
unsafe.rs
blob: f53dfab7a0a21cd0f1d3af54174e28aedf66c41a [
file
] [
log
] [
blame
] [
edit
]
#![
feature
(
const_block_items
)]
const
unsafe
fn
foo
()
->
bool
{
true
}
const
unsafe
{
assert
!(
foo
())
}
//~^ ERROR: expected one of `extern` or `fn`, found `{`
fn
main
()
{
}