Sign in
fuchsia
/
third_party
/
rust
/
298e8ad5dc79ecb9b5b6140499e950d6ac5f09b1
/
.
/
src
/
test
/
ui
/
closures
/
issue-52437.rs
blob: 1e649a556e01de0f3177be8a305a82dd92c77e24 [
file
] [
log
] [
blame
]
fn
main
()
{
[();
&(&
'
static
:
loop
{
|
x
|
{};
})
as
*
const
_
as
usize
]
//~^ ERROR: invalid label name `'static`
//~| ERROR: `loop` is not allowed in a `const`
//~| ERROR: type annotations needed
}