Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-2590.rs
blob: a9a0e5ca4ec162cbeb7e5ea7d7e8cd51aff3cddd [
file
] [
log
] [
blame
] [
edit
]
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
()
{}