Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-50582.rs
blob: 2d5c9358752964fe15482ba28ddd3487ac359788 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
Vec
::<[();
1
+
for
x in
0.
.
1
{}]>::
new
();
//~^ ERROR cannot add
//~| ERROR `for` is not allowed in a `const`
}