diff options
| author | Michael Hewson <michael@michaelhewson.ca> | 2018-09-20 03:04:08 -0400 |
|---|---|---|
| committer | Michael Hewson <michael@michaelhewson.ca> | 2018-11-01 18:15:19 -0400 |
| commit | be80a79a1ea247a71e5ffa408356b9b72cddb644 (patch) | |
| tree | 54ccfa95c9f9bba137969d387c839b0b4f9e176d /src/rustllvm/RustWrapper.cpp | |
| parent | a920036f4fe6403396ea05e7c70d0d87c769ff0a (diff) | |
| download | rust-be80a79a1ea247a71e5ffa408356b9b72cddb644.tar.gz rust-be80a79a1ea247a71e5ffa408356b9b72cddb644.zip | |
Add CoerceSized trait and lang item
This trait is more-or-less the reverse of CoerceUnsized, and will be used for object-safety checks. Receiver types like `Rc` will have to implement `CoerceSized` so that methods that use `Rc<Self>` as the receiver will be considered object-safe.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
