about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-04 12:25:25 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-07 13:44:06 +0100
commit4583272bf5054e84c4c59ba3b9334a52cfcf5208 (patch)
treea32a2498ebb5496df0ad6be9c5475c3fd2ab0081 /src/libstd/sys/unix/stack_overflow.rs
parent128ac9dfcbb096c8bbc373f554a0c97ca3e9e030 (diff)
downloadrust-4583272bf5054e84c4c59ba3b9334a52cfcf5208.tar.gz
rust-4583272bf5054e84c4c59ba3b9334a52cfcf5208.zip
Updates to tests reflecting array-move restrictions.
Note that the change to the error message in
borrowck-use-in-index-lvalue.rs, where we report that `*w` is
uninitialized rather than `w`, was unintended fallout from the
implementation strategy used here.

The change appears harmless to me, but I welcome advice on how to
bring back the old message, which was slightly cleaner (i.e. less
unintelligible).

----

drive-by: revise compile-fail/borrowck-vec-pattern-move-tail to make
it really clear that there is a conflict that must be signaled.

(A hypothetical future version of Rust might be able to accept the
prior version of the code, since the previously updated index was not
actually aliased.)
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions