This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
359bfa901b9d8eddbed7b88b6716dbb77b7bfb95
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 12:29:29 -03: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 13:16:43 -04:00
drop
(
x
)
;
//~ ERROR use of partially moved value
Inspect parents paths when checking for moves
2018-09-15 12:29:29 -03:00
}
Reference in New Issue
Copy Permalink