diff options
| author | bors <bors@rust-lang.org> | 2013-12-18 03:36:33 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-12-18 03:36:33 -0800 |
| commit | f43402fd66d22842978e952c548125db66b3491f (patch) | |
| tree | 19cc374bed26d21ea2c040046b0f43a7f4efb284 /src/rustllvm/RustWrapper.cpp | |
| parent | 1fee5cd953837d77bf3bcaaf9dcb4b869ae39090 (diff) | |
| parent | 4584acdf4c5824e020c738f0c89e86021ac531c0 (diff) | |
| download | rust-f43402fd66d22842978e952c548125db66b3491f.tar.gz rust-f43402fd66d22842978e952c548125db66b3491f.zip | |
auto merge of #11025 : ezyang/rust/reword-second-borrow, r=cmr
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 barrow (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
