diff options
| author | Edward Z. Yang <ezyang@cs.stanford.edu> | 2013-12-17 20:55:33 +0800 |
|---|---|---|
| committer | Edward Z. Yang <ezyang@cs.stanford.edu> | 2013-12-17 21:10:57 +0800 |
| commit | 4584acdf4c5824e020c738f0c89e86021ac531c0 (patch) | |
| tree | b5da3d71eceafdbc9db456fc61ed9643eab2867c /src/rustllvm/RustWrapper.cpp | |
| parent | dc65762d7923a9e66e8e5d743cb8b2d2fdd3cde5 (diff) | |
| download | rust-4584acdf4c5824e020c738f0c89e86021ac531c0.tar.gz rust-4584acdf4c5824e020c738f0c89e86021ac531c0.zip | |
s/Second borrow/Previous borrow/ in error messages.
When a borrow occurs twice illegally, Rust will label the other borrow as the "second borrow". This is quite confusing, as the "second borrow" usually happened before the flagged borrow (e.g. as far as dataflow is concerned, the first borrow is OK, the second borrow is illegal.) This patch renames "second borrow" to "previous borrow", to make the spatial relationship between the two borrows clearer. Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
