-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the
use of moved value
error to be more accurate
Previously it output `partially moved` to eagerly. This updates it to be more accurate and output `collaterally moved` for use of values that were invalidated by moves out of different fields in the same struct. Closes #15630.
- Loading branch information
Showing
6 changed files
with
62 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
02c6ebd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from nikomatsakis
at ftxqxd@02c6ebd
02c6ebd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging P1start/rust/borrowck-messages = 02c6ebd into auto
02c6ebd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P1start/rust/borrowck-messages = 02c6ebd merged ok, testing candidate = 84a4a07
02c6ebd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/1626
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1623
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/1617
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/1623
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1620
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/1619
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/1619
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1623
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/1617
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/1616
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/1619
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1274
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/1272
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/1276
success: http://buildbot.rust-lang.org/builders/auto-win-64-opt/builds/109
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-t/builds/107
success: http://buildbot.rust-lang.org/builders/auto-win-64-nopt-c/builds/107
02c6ebd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 84a4a07