Sign in
rust
/
rust
/
8b69918e7212d74ec1eaae10536c0d5cb63fdc86
/
.
/
tests
/
ui
/
span
/
move-closure.rs
blob: bdd7951b303ca0ef301a4f29e61fa2eb440962d2 [
file
]
// 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
}