This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
e72618a897
rust
/
tests
/
ui
/
nll
/
move-subpaths-moves-root.rs
6 lines
112 B
Rust
Raw
Normal View
History
Unescape
Escape
Inspect parents paths when checking for moves
2018-09-15 10:29:29 -05:00
fn
main
(
)
{
let
x
=
(
vec!
[
1
,
2
,
3
]
,
)
;
drop
(
x
.
0
)
;
Be consistent when describing a move as a 'partial' in diagnostics When an error occurs due to a partial move, we would use the world "partial" in some parts of the error message, but not in others. This commit ensures that we use the word 'partial' in either all or none of the diagnostic messages. Additionally, we no longer describe a move out of a `Box` via `*` as a 'partial move'. This was a pre-existing issue, but became more noticable when the word 'partial' is used in more places.
2020-08-08 12:16:43 -05:00
drop
(
x
)
;
//~ ERROR use of partially moved value
Inspect parents paths when checking for moves
2018-09-15 10:29:29 -05:00
}
Reference in New Issue
Copy Permalink