diff options
| author | bors <bors@rust-lang.org> | 2015-01-30 07:57:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-01-30 07:57:14 +0000 |
| commit | e0f5980ead4f88e78a47f4d84da4dc11472f66ba (patch) | |
| tree | cac24017a222a61c4f9e468c5689387475798853 /src/rustllvm/RustWrapper.cpp | |
| parent | 52c74e63dacd49017b19330e0cbecbac0a3fe62e (diff) | |
| parent | ae076e1e3b037e557b613d97698a9f28a1683d8b (diff) | |
| download | rust-e0f5980ead4f88e78a47f4d84da4dc11472f66ba.tar.gz rust-e0f5980ead4f88e78a47f4d84da4dc11472f66ba.zip | |
Auto merge of #21351 - eddyb:x-coerce--a-new-hope, r=nikomatsakis
Coercions will now attempt to autoderef as needed before reborrowing. This includes overloaded `Deref`, e.g. `&Rc<T>` coerces to `&T`, and `DerefMut`, e.g. `&mut Vec<T>` coerces to `&mut [T]` (in addition to `&[T]`). Closes #21432.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
