diff options
| author | David Wood <david@davidtw.co> | 2018-09-30 21:21:31 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-01 13:50:22 +0200 |
| commit | 8c6d08b71f56541a540d365746aab460862d3149 (patch) | |
| tree | e8222734e14ed4c4acd9441c0ad364e323d7bc29 /src/rustllvm/RustWrapper.cpp | |
| parent | da4a12038bac647b8d07211588c21f1ca07c12e3 (diff) | |
| download | rust-8c6d08b71f56541a540d365746aab460862d3149.tar.gz rust-8c6d08b71f56541a540d365746aab460862d3149.zip | |
Add special cases for move from `Rc`/`Arc` errors.
This commit special cases the move out of borrowed content error, previously: ``` error[E0507]: cannot move out of borrowed content --> src/main.rs:7:10 | 7 | drop(x.field); | ^ cannot move out of borrowed content ``` to instead mention that it is a move out of a `Rc`/`Arc` which is more helpful: ``` error[E0507]: cannot move out of an `Rc` --> src/main.rs:7:10 | 7 | drop(x.field); | ^ cannot move out of an `Rc` ```
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
