about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2018-09-20 03:04:08 -0400
committerMichael Hewson <michael@michaelhewson.ca>2018-11-01 18:15:19 -0400
commitbe80a79a1ea247a71e5ffa408356b9b72cddb644 (patch)
tree54ccfa95c9f9bba137969d387c839b0b4f9e176d /src/rustllvm/RustWrapper.cpp
parenta920036f4fe6403396ea05e7c70d0d87c769ff0a (diff)
downloadrust-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