Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
issues
/
issue-2590.rs
blob: a9a0e5ca4ec162cbeb7e5ea7d7e8cd51aff3cddd [
file
] [
log
] [
blame
]
struct
Parser
{
tokens
:
Vec
<
isize
>
,
}
trait
Parse
{
fn
parse
(&
self
)
->
Vec
<
isize
>
;
}
impl
Parse
for
Parser
{
fn
parse
(&
self
)
->
Vec
<
isize
>
{
self
.
tokens
//~ ERROR cannot move out
}
}
fn
main
()
{}