Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-50585.rs
blob: a2f11c98d5a3070536a3db46ad6d6cbc1765c0ad [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
|
y
:
Vec
<[();
for
x in
0.
.
2
{}]>|
{};
//~^ ERROR mismatched types
//~| ERROR `for` is not allowed in a `const`
}