diff options
| author | bors <bors@rust-lang.org> | 2014-07-16 04:31:12 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-07-16 04:31:12 +0000 |
| commit | 6c35d513cea468b30759b4f78becf28f11a123c0 (patch) | |
| tree | 3ecd3f6f340ee609f637162e39657c78c582b6de /src/rustllvm/RustWrapper.cpp | |
| parent | c523d86552d6797ad52acece4e2e65cb319ee4f2 (diff) | |
| parent | 2bc6547a5a293d61a2485090fd1d1d8a57b6baee (diff) | |
| download | rust-6c35d513cea468b30759b4f78becf28f11a123c0.tar.gz rust-6c35d513cea468b30759b4f78becf28f11a123c0.zip | |
auto merge of #15656 : nick29581/rust/index-bck, r=pnkfelix
Closes #15525 The important bit of this are the changes from line 445 in mem_categorization.rs. Most of the other changes are about adding an Implicit PointerKind, and this is only necessary for getting a decent error message :-s An alternative would have been to add an implciti/explicit flag to cat_deref, which could be mostly ignored and so would mean much fewer changes. However, the implicit state would only be valid if the PointerKind was BorrowedPtr, so it felt like it ought to be another kind of PointerKind. I still don't know which is the better design.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
