Sign in
android
/
toolchain
/
rustc
/
d2dbbcd40813d506244f1255bc2c84088a0197e1
/
.
/
src
/
test
/
ui
/
span
/
move-closure.rs
blob: bdd7951b303ca0ef301a4f29e61fa2eb440962d2 [
file
] [
log
] [
blame
]
// Regression test for issue #24986
// Make sure that the span of a closure marked `move` begins at the `move` keyword.
fn
main
()
{
let
x
:
()
=
move
||
();
//~ ERROR mismatched types
}